wok-next annotate dar/receipt @ rev 21382
updated nbd (3.3 -> 3.20)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 17:27:00 2020 +0100 (2020-04-16) |
parents | e19ff076dc63 |
children | 73f88501086a |
rev | line source |
---|---|
al@20547 | 1 # SliTaz package receipt v2. |
pascal@13227 | 2 |
pascal@13227 | 3 PACKAGE="dar" |
al@21036 | 4 VERSION="2.5.17" |
pascal@13227 | 5 CATEGORY="system-tools" |
al@20547 | 6 SHORT_DESC="Disk archive" |
pascal@13227 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@13227 | 9 WEB_SITE="http://dar.linux.free.fr/" |
al@20547 | 10 |
pascal@13227 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13227 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13227 | 13 |
al@21094 | 14 COOKOPTS="force-arch" # different .h |
al@21094 | 15 |
al@21020 | 16 BUILD_DEPENDS="gettext-dev zlib-dev bzip2-dev lzo-dev xz-dev libgpg-error-dev \ |
al@20985 | 17 libgcrypt-dev attr-dev e2fsprogs-dev upx gpgme-dev" |
al@21020 | 18 SPLIT="$PACKAGE-dev" |
pascal@13227 | 19 |
al@20547 | 20 compile_rules() { |
al@20547 | 21 ./configure \ |
al@20547 | 22 --disable-static \ |
pascal@13227 | 23 $CONFIGURE_ARGS && |
al@20569 | 24 fix libtool && |
pascal@13227 | 25 make && |
al@20985 | 26 make install |
pascal@13227 | 27 } |
pascal@13227 | 28 |
al@20547 | 29 genpkg_rules() { |
al@20547 | 30 case $PACKAGE in |
al@20547 | 31 dar) |
al@20547 | 32 copy @std |
al@21105 | 33 DEPENDS="libbzip2 gpgme libgcrypt liblzma lzo zlib upx" |
al@20985 | 34 CONFIG_FILES="/etc/darrc" |
al@20547 | 35 TAGS="backup" |
al@20547 | 36 ;; |
al@20547 | 37 *-dev) |
al@20547 | 38 copy @dev |
al@20985 | 39 DEPENDS="dar attr-dev bzip2-dev gpgme-dev libassuan-dev libcap-dev \ |
al@20985 | 40 libgcrypt-dev libgpg-error-dev lzo-dev xz-dev zlib-dev" |
al@20547 | 41 ;; |
al@20547 | 42 esac |
pascal@13227 | 43 } |