wok-6.x annotate libarchive/receipt @ rev 20065
busybox/udhcpc6: update script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 23 13:11:28 2017 +0200 (2017-09-23) |
parents | b93d4ef89c1b |
children | 092a08459c30 |
rev | line source |
---|---|
erjo@3653 | 1 # SliTaz package receipt. |
erjo@3653 | 2 |
erjo@3653 | 3 PACKAGE="libarchive" |
devl547@19600 | 4 VERSION="3.2.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" |
devl547@19600 | 14 BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev openssl-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 |