mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
a4a73b01e1
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
29 lines
No EOL
597 B
Text
Executable file
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"
|
|
} |