wok-next view libarchive/receipt @ rev 19588

Update all the SliTaz projects (hosted on hg.slitaz.org).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 21 11:18:06 2017 +0200 (2017-01-21)
parents 6c3718ca17b6
children 35a20e111081
line source
1 # SliTaz package receipt.
3 PACKAGE="libarchive"
4 VERSION="3.1.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="C librairy and command line tool for reading archive."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.libarchive.org/"
11 WGET_URL="${WEB_SITE}downloads/$TARBALL"
13 DEPENDS="acl libcrypto liblzma bzlib zlib libxml2"
14 BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev zlib-dev libxml2-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make -j1 DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }