wok view libtar/receipt @ rev 24838
updated libtirpc and libtirpc-dev (1.2.5 -> 1.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 07:49:01 2022 +0100 (2022-03-25) |
parents | 2a68d6e1c740 |
children | bd7510903310 |
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="http://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 }