wok-next view libarchive/receipt @ rev 20577
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 03:34:33 2018 +0300 (2018-04-14) |
parents | 0e7893ac206d |
children | 1ca369c9f448 |
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 && make -j1 DESTDIR=$DESTDIR install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libarchive)
30 copy @std
31 DEPENDS="acl bzlib liblzma libxml2 lz4-lib nettle zlib"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libarchive acl-dev attr-dev bzip2-dev libxml2-dev lz4-dev \
36 lzo-dev nettle-dev openssl-dev xz-dev zlib-dev"
37 ;;
38 esac
39 }