wok view dar/receipt @ rev 25546

memtest: update menu label
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 19 18:51:26 2023 +0000 (20 months ago)
parents 640a2eba2511
children 6b33f9da53d4
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 }