wok-next rev 20588

e4rat: fix packing
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 15:12:31 2018 +0300 (2018-04-14)
parents 0eae38b89b8d
children bb85a8f1ebd4
files e4rat/receipt
line diff
     1.1 --- a/e4rat/receipt	Sat Apr 14 15:01:16 2018 +0300
     1.2 +++ b/e4rat/receipt	Sat Apr 14 15:12:31 2018 +0300
     1.3 @@ -1,34 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="e4rat"
     1.8  VERSION="0.2.3"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Ext4 - Reducing Access Times: Improve Startup Times."
    1.11 +SHORT_DESC="Ext4 - Reducing Access Times: Improve Startup Times"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="http://e4rat.sourceforge.net/"
    1.15 +
    1.16  TARBALL="${PACKAGE}_${VERSION}_src.tar.gz"
    1.17 -WEB_SITE="http://e4rat.sourceforge.net/"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -CONFIG_FILES="/etc/e4rat.conf"
    1.20  
    1.21 -DEPENDS="e2fsprogs libboost-system libboost-filesystem libboost-regex"
    1.22  BUILD_DEPENDS="cmake e2fsprogs-dev libboost-dev libboost-system \
    1.23  libboost-filesystem libboost-regex libboost-signals libboost-serialization \
    1.24  audit-dev perl"
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 -	cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr . &&
    1.30 -	make && make install
    1.31 +compile_rules() {
    1.32 +	cmake \
    1.33 +		-DCMAKE_BUILD_TYPE=release \
    1.34 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.35 +		. &&
    1.36 +	make &&
    1.37 +	make install
    1.38  }
    1.39  
    1.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 -genpkg_rules()
    1.42 -{
    1.43 -	mkdir -p $fs/usr
    1.44 -	cp -a $install/etc $fs
    1.45 -	cp -a $install/var $fs
    1.46 -	cp -a $install/usr/bin $fs/usr
    1.47 -	cp -a $install/usr/lib $fs/usr
    1.48 +genpkg_rules() {
    1.49 +	copy @std
    1.50 +	DEPENDS="e2fsprogs libboost-system libboost-filesystem libboost-regex"
    1.51 +	CONFIG_FILES="/etc/e4rat.conf"
    1.52  }