1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 19:19:46 +01:00
build/pkg/libunistring/build
David Oberhollenzer a4a73b01e1 Bump libunistring version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-19 22:56:06 +02:00

29 lines
No EOL
597 B
Text
Executable file

VERSION="0.9.10"
SRCDIR="libunistring-$VERSION"
TARBALL="${SRCDIR}.tar.xz"
URL="https://ftp.gnu.org/gnu/libunistring"
SHA256SUM="eb8fb2c3e4b6e2d336608377050892b54c3c983b646c561836550863003c05d7"
DEPENDS="libiconv"
prepare() {
return
}
build() {
$1/configure --prefix="" --host="$TARGET" --disable-static
make -j $NUMJOBS
}
deploy() {
local SOURCE="$1"
local DEPLOY="$2"
make DESTDIR="$DEPLOY" install
}
check_update() {
curl --silent -L "$URL" | grep -o ">libunistring-[0-9.]*tar.xz<" | \
sed 's/>libunistring-//g' | sed 's/.tar.xz<//g' | \
verson_find_greatest "$VERSION"
}