wok annotate libtar/receipt @ rev 25553

Up amd-microcode (2021.Sep.10), intel-microcode (20230214)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 09 14:47:24 2023 +0000 (19 months ago)
parents bd7510903310
children
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"
pascal@25074 12 WGET_URL="https://github.com/tklauser/libtar/archive/v$VERSION/$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 }