wok-next view dar/receipt @ rev 20569

Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 07:14:16 2018 +0300 (2018-04-13)
parents dfe25744cfaf
children b84b01f3048e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dar"
4 VERSION="2.4.18"
5 CATEGORY="system-tools"
6 SHORT_DESC="Disk archive"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://dar.linux.free.fr/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="lzo-dev libgcrypt-dev bzip2-dev e2fsprogs-dev attr-dev gettext \
15 zlib-dev upx"
16 SPLIT="dar-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 dar)
30 copy @std
31 DEPENDS="gcc-lib-base lzo libgcrypt bzip2 attr"
32 TAGS="backup"
33 ;;
34 *-dev)
35 copy @dev
36 ;;
37 esac
38 }