wok-current annotate libarchive/receipt @ rev 16386

Up: pbzip2 (1.1.9)
author Alexander Medvedev <devl547@gmail.com>
date Tue Apr 15 11:52:07 2014 +0400 (2014-04-15)
parents 5188b6752a42
children b93d4ef89c1b
rev   line source
erjo@3653 1 # SliTaz package receipt.
erjo@3653 2
erjo@3653 3 PACKAGE="libarchive"
slaxemulator@6211 4 VERSION="2.8.4"
pankso@4805 5 CATEGORY="system-tools"
erjo@3653 6 SHORT_DESC="C librairy and command line tool for reading archive."
erjo@3653 7 MAINTAINER="erjo@slitaz.org"
pascal@15472 8 LICENSE="BSD"
erjo@3653 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@3653 10 WEB_SITE="http://code.google.com/p/libarchive/"
erjo@3653 11 WGET_URL="http://libarchive.googlecode.com/files/$TARBALL"
erjo@3653 12
pascal@15472 13 DEPENDS="acl libcrypto liblzma bzlib zlib libxml2"
pascal@15472 14 BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev zlib-dev libxml2-dev"
pascal@15472 15
erjo@3653 16 # Rules to configure and make the package.
erjo@3653 17 compile_rules()
erjo@3653 18 {
erjo@3653 19 cd $src
erjo@3653 20 ./configure \
erjo@3653 21 --prefix=/usr \
erjo@3653 22 --infodir=/usr/share/info \
erjo@3653 23 --mandir=/usr/share/man \
erjo@3653 24 $CONFIGURE_ARGS &&
pascal@15472 25 make && make -j1 DESTDIR=$DESTDIR install
erjo@3653 26 }
erjo@3653 27
erjo@3653 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@3653 29 genpkg_rules()
erjo@3653 30 {
erjo@3653 31 mkdir -p $fs/usr/lib
pascal@15472 32 cp -a $install/usr/bin $fs/usr
pascal@15472 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@3653 34 }
erjo@3653 35