wok-next annotate libarchive/receipt @ rev 20087
Up dahdi-linux, dahdi-tools (2.11.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 27 22:24:52 2017 +0200 (2017-10-27) |
parents | f463de72afe3 |
children | 2d54d154d5ca |
rev | line source |
---|---|
al@19811 | 1 # SliTaz package receipt v2. |
erjo@3653 | 2 |
erjo@3653 | 3 PACKAGE="libarchive" |
al@19607 | 4 VERSION="3.2.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@19607 | 10 |
erjo@3653 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17251 | 12 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
erjo@3653 | 13 |
al@19811 | 14 BUILD_DEPENDS="e2fsprogs-dev zlib-dev bzip2-dev gettext lz4-dev xz-dev \ |
al@19607 | 15 lzo-dev libxml2-dev expat-dev attr-dev acl-dev nettle-dev openssl-dev" |
al@19811 | 16 SPLIT="libarchive-dev" |
pascal@15472 | 17 |
erjo@3653 | 18 # Rules to configure and make the package. |
erjo@3653 | 19 compile_rules() |
erjo@3653 | 20 { |
al@19811 | 21 # http://www.linuxfromscratch.org/blfs/view/stable/general/libarchive.html |
erjo@3653 | 22 ./configure \ |
al@19607 | 23 --disable-static \ |
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 { |
al@19811 | 31 case $PACKAGE in |
al@19811 | 32 libarchive) |
al@19811 | 33 copy @std |
al@19811 | 34 DEPENDS="acl attr bzlib libcrypto liblzma libxml2 lz4-lib lzo \ |
al@19811 | 35 nettle zlib" |
al@19811 | 36 ;; |
al@19811 | 37 *-dev) |
al@19811 | 38 copy @dev |
al@19811 | 39 DEPENDS="libarchive acl-dev attr-dev bzip2-dev libcrypto-dev \ |
al@19811 | 40 libxml2-dev lz4-dev lzo-dev nettle-dev xz-dev zlib-dev" |
al@19811 | 41 ;; |
al@19811 | 42 esac |
erjo@3653 | 43 } |