wok view dar/receipt @ rev 24426

updated cmatrix (1.2a -> 2.0)
author Hans-G?nter Theisgen
date Sat Feb 12 11:04:56 2022 +0100 (2022-02-12)
parents 64767bfb1282
children c6f002071d21
line source
1 # SliTaz package receipt.
3 PACKAGE="dar"
4 VERSION="2.6.7"
5 CATEGORY="system-tools"
6 TAGS="backup"
7 SHORT_DESC="Disk archive."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://dar.linux.free.fr/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="attr bzip2 gcc83-lib-base libgcrypt lzo"
16 BUILD_DEPENDS="attr-dev bzip2-dev e2fsprogs-dev gcc83
17 libgcrypt-dev lzo-dev"
19 TODO="split package into dar and dar-dev ?"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/dar/files/dar/ 2>/dev/null | \
25 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
26 sed '/scope="row/!d;s|.*/dar/||;s|/.*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 CC=gcc-83 \
34 CXX=g++-83 \
35 --prefix=/usr \
36 --infodir=/usr/share/info \
37 --libdir=/lib \
38 --mandir=/usr/share/man \
39 $CONFIGURE_ARGS &&
40 make &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cp -a $install/* $fs
48 }