wok view libtar/receipt @ rev 24972

Up lzsa (1.3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 08:42:44 2022 +0000 (2022-05-01)
parents ede1d184d5c5
children 56e6b4e63668
line source
1 # SliTaz package receipt.
3 PACKAGE="libtar"
4 VERSION="1.2.20"
5 CATEGORY="development"
6 SHORT_DESC="C library for manipulating POSIX tar files."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://directory.fsf.org/wiki/Libtar"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://pkgbuild.com/~giovanni/$PACKAGE/$TARBALL"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="automake libtool zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/libtar-/!d;s|.*/libtar-||;s|[/-].*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 autoreconf --force --install
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }