wok view libtar/receipt @ rev 25134

updated phpeasyvcs (1.0 -> 2.0)
author Hans-G?nter Theisgen
date Wed Jun 29 10:51:43 2022 +0100 (2022-06-29)
parents bd7510903310
children
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://github.com/tklauser/libtar/archive/v$VERSION/$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 }