wok-6.x view dar/receipt @ rev 24863
updated lshw (8.02.18 -> 8.02.19.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 06:14:20 2022 +0100 (2022-03-30) |
parents | 640a2eba2511 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="dar"
4 VERSION="2.7.3"
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 SUGGESTED="dar-lang"
16 DEPENDS="attr bzip2 gcc83-lib-base libgcrypt lzo"
17 BUILD_DEPENDS="attr-dev bzip2-dev e2fsprogs-dev gcc83
18 libgcrypt-dev lzo-dev"
20 CONFIG_FILES="/etc/darrc"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://sourceforge.net/projects/dar/files/dar/ 2>/dev/null | \
26 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
27 sed '/scope="row/!d;s|.*/dar/||;s|/.*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 CC=gcc-83 \
35 CXX=g++-83 \
36 --prefix=/usr \
37 --infodir=/usr/share/info \
38 --libdir=/lib \
39 --mandir=/usr/share/man \
40 --sysconfdir=/etc \
41 $CONFIGURE_ARGS &&
42 make &&
43 make install DESTDIR=$DESTDIR
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 cook_copy_folders bin
50 cook_copy_folders etc
51 cook_copy_folders samples
52 cook_copy_files *.so*
53 cp -a $install/usr/share/dar/dar-catalog.dtd \
54 $fs/usr/share/dar
55 cp -a $install/usr/share/dar/dar_key.txt \
56 $fs/usr/share/dar
57 }