wok-next view libarchive/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 228b9c951d97 |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libarchive"
4 VERSION="3.3.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="C library and command line tool for reading archive"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.libarchive.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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-dev lz4-dev zstd-dev \
16 xz-dev lzo-dev libxml2-dev expat-dev attr-dev acl-dev nettle-dev openssl-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make -j1 DESTDIR=$install install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libarchive)
31 copy @std
32 DEPENDS="acl bzlib liblzma libxml2 lz4-lib nettle zlib zstd"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="libarchive acl-dev bzip2-dev libxml2-dev lz4-dev \
37 nettle-dev xz-dev zlib-dev zstd-dev"
38 ;;
39 esac
40 }