wok-6.x annotate libarchive/receipt @ rev 18416

linux: add CONFIG_DRM_TDFX=m
author Richard Dunbar <mojo@slitaz.org>
date Sun Sep 20 12:56:13 2015 -0400 (2015-09-20)
parents 6c3718ca17b6
children 56315ede24b7
rev   line source
erjo@3653 1 # SliTaz package receipt.
erjo@3653 2
erjo@3653 3 PACKAGE="libarchive"
pascal@17251 4 VERSION="3.1.2"
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"
pascal@17251 10 WEB_SITE="http://www.libarchive.org/"
pascal@17251 11 WGET_URL="${WEB_SITE}downloads/$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