wok view libtar/receipt @ rev 22713

bc: added dependency flex
author Hans-G?nter Theisgen
date Wed Jan 22 13:11:02 2020 +0100 (2020-01-22)
parents eeba7ab1dffe
children ede1d184d5c5
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 autoreconf --force --install
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }