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