wok-next view libarchive/receipt @ rev 19819
gstreamer0: update for the new bison version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 29 12:09:11 2017 +0200 (2017-07-29) |
parents | f463de72afe3 |
children | 2d54d154d5ca |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libarchive"
4 VERSION="3.2.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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}downloads/$TARBALL"
14 BUILD_DEPENDS="e2fsprogs-dev zlib-dev bzip2-dev gettext lz4-dev xz-dev \
15 lzo-dev libxml2-dev expat-dev attr-dev acl-dev nettle-dev openssl-dev"
16 SPLIT="libarchive-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # http://www.linuxfromscratch.org/blfs/view/stable/general/libarchive.html
22 ./configure \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make && make -j1 DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 libarchive)
33 copy @std
34 DEPENDS="acl attr bzlib libcrypto liblzma libxml2 lz4-lib lzo \
35 nettle zlib"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="libarchive acl-dev attr-dev bzip2-dev libcrypto-dev \
40 libxml2-dev lz4-dev lzo-dev nettle-dev xz-dev zlib-dev"
41 ;;
42 esac
43 }