wok annotate dar/receipt @ rev 25396

updated vidalia (0.2.21 -> 0.3.1)
author Hans-G?nter Theisgen
date Tue Aug 02 10:16:02 2022 +0100 (2022-08-02)
parents 640a2eba2511
children 6b33f9da53d4
rev   line source
pascal@13227 1 # SliTaz package receipt.
pascal@13227 2
pascal@13227 3 PACKAGE="dar"
Hans-G?nter@24463 4 VERSION="2.7.3"
pascal@13227 5 CATEGORY="system-tools"
Hans-G?nter@22628 6 TAGS="backup"
pascal@13227 7 SHORT_DESC="Disk archive."
pascal@13227 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 9 LICENSE="GPL2"
pascal@13227 10 WEB_SITE="http://dar.linux.free.fr/"
Hans-G?nter@22628 11
pascal@13227 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13227 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@13227 14
Hans-G?nter@24463 15 SUGGESTED="dar-lang"
Hans-G?nter@22628 16 DEPENDS="attr bzip2 gcc83-lib-base libgcrypt lzo"
Hans-G?nter@22628 17 BUILD_DEPENDS="attr-dev bzip2-dev e2fsprogs-dev gcc83
Hans-G?nter@22628 18 libgcrypt-dev lzo-dev"
Hans-G?nter@22628 19
Hans-G?nter@24463 20 CONFIG_FILES="/etc/darrc"
pascal@13227 21
pascal@24385 22 # What is the latest version available today?
pascal@24385 23 current_version()
pascal@24385 24 {
pascal@24385 25 wget -O - https://sourceforge.net/projects/dar/files/dar/ 2>/dev/null | \
pascal@24385 26 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24385 27 sed '/scope="row/!d;s|.*/dar/||;s|/.*||;q'
pascal@24385 28 }
pascal@24385 29
pascal@13227 30 # Rules to configure and make the package.
pascal@13227 31 compile_rules()
pascal@13227 32 {
Hans-G?nter@22628 33 ./configure \
Hans-G?nter@22628 34 CC=gcc-83 \
Hans-G?nter@22628 35 CXX=g++-83 \
Hans-G?nter@22628 36 --prefix=/usr \
Hans-G?nter@22628 37 --infodir=/usr/share/info \
Hans-G?nter@23933 38 --libdir=/lib \
Hans-G?nter@22628 39 --mandir=/usr/share/man \
Hans-G?nter@24463 40 --sysconfdir=/etc \
pascal@13227 41 $CONFIGURE_ARGS &&
pascal@13227 42 make &&
Hans-G?nter@24463 43 make install DESTDIR=$DESTDIR
pascal@13227 44 }
pascal@13227 45
pascal@13227 46 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13227 47 genpkg_rules()
pascal@13227 48 {
Hans-G?nter@24463 49 cook_copy_folders bin
Hans-G?nter@24463 50 cook_copy_folders etc
Hans-G?nter@24463 51 cook_copy_folders samples
Hans-G?nter@24463 52 cook_copy_files *.so*
Hans-G?nter@24463 53 cp -a $install/usr/share/dar/dar-catalog.dtd \
Hans-G?nter@24463 54 $fs/usr/share/dar
Hans-G?nter@24463 55 cp -a $install/usr/share/dar/dar_key.txt \
Hans-G?nter@24463 56 $fs/usr/share/dar
pascal@13227 57 }