wok rev 25130

e4rat: modified recipe
author Hans-G?nter Theisgen
date Wed Jun 29 07:04:49 2022 +0100 (21 months ago)
parents f3f4f971f674
children ead40cecdb52
files dialog-lang/receipt e4rat/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dialog-lang/receipt	Wed Jun 29 07:04:49 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dialog-lang"
     1.7 +VERSION="1.3_20220117"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Script-interpreter which provides a set of curses widgets - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="LGPL2.1"
    1.12 +WEB_SITE="https://invisible-island.net/dialog/"
    1.13 +
    1.14 +WANTED="dialog"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- a/e4rat/receipt	Tue Jun 28 17:47:22 2022 +0100
     2.2 +++ b/e4rat/receipt	Wed Jun 29 07:04:49 2022 +0100
     2.3 @@ -6,13 +6,16 @@
     2.4  SHORT_DESC="Ext4 - Reducing Access Times: Improve Startup Times."
     2.5  MAINTAINER="pascal.bellard@slitaz.org"
     2.6  LICENSE="GPL3"
     2.7 -TARBALL="${PACKAGE}_${VERSION}_src.tar.gz"
     2.8  WEB_SITE="http://e4rat.sourceforge.net/"
     2.9 +
    2.10 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.12 +WGET_URL="https://sourceforge.net/projects/$PACKAGE/files/$VERSION/${PACKAGE}_${VERSION}_src.tar.gz"
    2.13  
    2.14  DEPENDS="e2fsprogs"
    2.15 -BUILD_DEPENDS="cmake e2fsprogs-dev libboost-system-dev libboost-filesystem-dev \
    2.16 -libboost-regex-dev libboost-signals-dev libboost-serialization-dev audit-dev perl"
    2.17 +BUILD_DEPENDS="audit-dev cmake e2fsprogs-dev libboost-filesystem-dev 
    2.18 +	libboost-regex-dev libboost-serialization-dev libboost-signals-dev
    2.19 +	libboost-system-dev perl"
    2.20  
    2.21  current_version()
    2.22  {
    2.23 @@ -26,16 +29,23 @@
    2.24  {
    2.25  	export LDFLAGS="$LDFLAGS -lcom_err"
    2.26  	patch -p0 < $stuff/e4rat-boost.u
    2.27 -	cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr . &&
    2.28 -	make && make install
    2.29 +
    2.30 +	mkdir	_build &&
    2.31 +	cd	_build &&
    2.32 +	cmake	..				\
    2.33 +		-D CMAKE_BUILD_TYPE=release	\
    2.34 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    2.35 +	make &&
    2.36 +	make install
    2.37  }
    2.38  
    2.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.40  genpkg_rules()
    2.41  {
    2.42  	mkdir -p $fs/usr
    2.43 -	cp -a $install/etc $fs
    2.44 -	cp -a $install/var $fs
    2.45 -	cp -a $install/usr/sbin $fs/usr
    2.46 -	cp -a $install/usr/lib $fs/usr
    2.47 +
    2.48 +	cp -a $install/etc	$fs
    2.49 +	cp -a $install/var	$fs
    2.50 +	cp -a $install/usr/sbin	$fs/usr
    2.51 +	cp -a $install/usr/lib	$fs/usr
    2.52  }