wok-current diff dar/receipt @ rev 24491

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 18 22:59:06 2022 +0000 (2022-02-18)
parents 640a2eba2511
children
line diff
     1.1 --- a/dar/receipt	Mon Feb 07 11:38:23 2022 +0000
     1.2 +++ b/dar/receipt	Fri Feb 18 22:59:06 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dar"
     1.7 -VERSION="2.6.7"
     1.8 +VERSION="2.7.3"
     1.9  CATEGORY="system-tools"
    1.10  TAGS="backup"
    1.11  SHORT_DESC="Disk archive."
    1.12 @@ -12,11 +12,12 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15  
    1.16 +SUGGESTED="dar-lang"
    1.17  DEPENDS="attr bzip2 gcc83-lib-base libgcrypt lzo"
    1.18  BUILD_DEPENDS="attr-dev bzip2-dev e2fsprogs-dev gcc83 
    1.19  	libgcrypt-dev lzo-dev"
    1.20  
    1.21 -TODO="split package into dar and dar-dev ?"
    1.22 +CONFIG_FILES="/etc/darrc"
    1.23  
    1.24  # What is the latest version available today?
    1.25  current_version()
    1.26 @@ -36,13 +37,21 @@
    1.27  		--infodir=/usr/share/info	\
    1.28  		--libdir=/lib			\
    1.29  		--mandir=/usr/share/man		\
    1.30 +		--sysconfdir=/etc		\
    1.31  		$CONFIGURE_ARGS &&
    1.32  	make &&
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 +	make install DESTDIR=$DESTDIR
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	cp -a $install/*	$fs
    1.41 +	cook_copy_folders	bin
    1.42 +	cook_copy_folders	etc
    1.43 +	cook_copy_folders	samples
    1.44 +	cook_copy_files		*.so*
    1.45 +	cp -a $install/usr/share/dar/dar-catalog.dtd \
    1.46 +				$fs/usr/share/dar
    1.47 +	cp -a $install/usr/share/dar/dar_key.txt \
    1.48 +				$fs/usr/share/dar
    1.49  }