wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libarchive"
4 VERSION="3.3.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="C librairy and command line tool for reading archive"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.libarchive.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libarchive.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}downloads/$TARBALL"
15 BUILD_DEPENDS="e2fsprogs-dev zlib-dev bzip2-dev gettext lz4-dev xz-dev \
16 lzo-dev libxml2-dev expat-dev attr-dev acl-dev nettle-dev openssl-dev"
17 SPLIT="libarchive-dev"
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make -j1 DESTDIR=$DESTDIR install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libarchive)
31 copy @std
32 DEPENDS="acl bzlib liblzma libxml2 lz4-lib nettle zlib"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="libarchive acl-dev attr-dev bzip2-dev libxml2-dev lz4-dev \
37 lzo-dev nettle-dev openssl-dev xz-dev zlib-dev"
38 ;;
39 esac
40 }