wok annotate libarchive/receipt @ rev 20675
iron: update /usr/bin/iron symlink
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 24 22:11:16 2019 +0100 (2019-01-24) |
parents | 56315ede24b7 |
children | 0f27c5584871 |
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" |
erkan@20342 | 6 SHORT_DESC="C library 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 |