wok annotate libtar/receipt @ rev 24851
updated libxdg-basedir and libxdg-basedir-dev (1.2.0 -> 1.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 26 10:49:19 2022 +0100 (2022-03-26) |
parents | 2a68d6e1c740 |
children | bd7510903310 |
rev | line source |
---|---|
slaxemulator@6809 | 1 # SliTaz package receipt. |
slaxemulator@6809 | 2 |
slaxemulator@6809 | 3 PACKAGE="libtar" |
Hans-G?nter@21316 | 4 VERSION="1.2.20" |
slaxemulator@6809 | 5 CATEGORY="development" |
slaxemulator@6809 | 6 SHORT_DESC="C library for manipulating POSIX tar files." |
slaxemulator@6809 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15482 | 8 LICENSE="BSD" |
Hans-G?nter@21316 | 9 WEB_SITE="https://directory.fsf.org/wiki/Libtar" |
Hans-G?nter@21316 | 10 |
slaxemulator@6809 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21316 | 12 WGET_URL="http://pkgbuild.com/~giovanni/$PACKAGE/$TARBALL" |
slaxemulator@6809 | 13 |
pascal@15482 | 14 DEPENDS="zlib" |
Hans-G?nter@21316 | 15 BUILD_DEPENDS="automake libtool zlib-dev" |
pascal@15482 | 16 |
pascal@24447 | 17 # What is the latest version available today? |
pascal@24447 | 18 current_version() |
pascal@24447 | 19 { |
pascal@24447 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24447 | 21 sed '/libtar-/!d;s|.*/libtar-||;s|[/-].*||;q' |
pascal@24447 | 22 } |
pascal@24447 | 23 |
slaxemulator@6809 | 24 # Rules to configure and make the package. |
slaxemulator@6809 | 25 compile_rules() |
slaxemulator@6809 | 26 { |
Hans-G?nter@21316 | 27 autoreconf --force --install |
Hans-G?nter@21316 | 28 ./configure \ |
Hans-G?nter@21316 | 29 --prefix=/usr \ |
Hans-G?nter@21316 | 30 --infodir=/usr/share/info \ |
Hans-G?nter@21316 | 31 --mandir=/usr/share/man \ |
slaxemulator@6809 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@21316 | 33 make -j 1 && |
Hans-G?nter@21316 | 34 make DESTDIR=$DESTDIR install |
slaxemulator@6809 | 35 } |
slaxemulator@6809 | 36 |
slaxemulator@6809 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6809 | 38 genpkg_rules() |
slaxemulator@6809 | 39 { |
Hans-G?nter@21316 | 40 mkdir -p $fs/usr/lib |
Hans-G?nter@21316 | 41 |
Hans-G?nter@21316 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21316 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6809 | 44 } |