wok-next annotate libarchive/receipt @ rev 20679
Up acpid (2.0.28), apr-util (1.6.1), apr (1.6.3), iso-codes (3.77), jasper (2.0.14), lcms2 (2.9), libassuan (2.5.1), libatomic_ops (7.6.2), libbytesize (1.2), libgcrypt (1.8.2), libgsf (1.14.42), libgudev (232), libgusb (0.3.0), libtasn1 (4.13); add libqmi, modem-manager.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 17 01:08:40 2018 +0300 (2018-05-17) |
parents | 757d032c55c7 |
children | 10690072e8bc |
rev | line source |
---|---|
al@19811 | 1 # SliTaz package receipt v2. |
erjo@3653 | 2 |
erjo@3653 | 3 PACKAGE="libarchive" |
al@20406 | 4 VERSION="3.3.2" |
pankso@4805 | 5 CATEGORY="system-tools" |
al@19811 | 6 SHORT_DESC="C librairy and command line tool for reading archive" |
erjo@3653 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15472 | 8 LICENSE="BSD" |
al@19607 | 9 WEB_SITE="http://www.libarchive.org/" |
al@20406 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libarchive.html" |
al@19607 | 11 |
erjo@3653 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17251 | 13 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
erjo@3653 | 14 |
al@19811 | 15 BUILD_DEPENDS="e2fsprogs-dev zlib-dev bzip2-dev gettext lz4-dev xz-dev \ |
al@19607 | 16 lzo-dev libxml2-dev expat-dev attr-dev acl-dev nettle-dev openssl-dev" |
al@19811 | 17 SPLIT="libarchive-dev" |
pascal@15472 | 18 |
al@20406 | 19 compile_rules() { |
erjo@3653 | 20 ./configure \ |
al@19607 | 21 --disable-static \ |
erjo@3653 | 22 $CONFIGURE_ARGS && |
al@20406 | 23 fix libtool && |
al@20679 | 24 make && |
al@20679 | 25 make -j1 DESTDIR=$DESTDIR install |
erjo@3653 | 26 } |
erjo@3653 | 27 |
al@20406 | 28 genpkg_rules() { |
al@19811 | 29 case $PACKAGE in |
al@19811 | 30 libarchive) |
al@19811 | 31 copy @std |
al@20406 | 32 DEPENDS="acl bzlib liblzma libxml2 lz4-lib nettle zlib" |
al@19811 | 33 ;; |
al@19811 | 34 *-dev) |
al@19811 | 35 copy @dev |
al@20443 | 36 DEPENDS="libarchive acl-dev attr-dev bzip2-dev libxml2-dev lz4-dev \ |
al@20443 | 37 lzo-dev nettle-dev openssl-dev xz-dev zlib-dev" |
al@19811 | 38 ;; |
al@19811 | 39 esac |
erjo@3653 | 40 } |