wok annotate e4rat/receipt @ rev 18228

linld: add tobzimage
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 23 09:44:18 2015 +0200 (2015-07-23)
parents 4aed2b24febc
children 328b6e417d66
rev   line source
pascal@13591 1 # SliTaz package receipt.
pascal@13591 2
pascal@13591 3 PACKAGE="e4rat"
pascal@13591 4 VERSION="0.2.3"
pascal@13591 5 CATEGORY="system-tools"
pascal@13591 6 SHORT_DESC="Ext4 - Reducing Access Times: Improve Startup Times."
pascal@13591 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14997 8 LICENSE="GPL3"
pascal@13591 9 TARBALL="${PACKAGE}_${VERSION}_src.tar.gz"
pascal@13591 10 WEB_SITE="http://e4rat.sourceforge.net/"
pascal@13591 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@13591 12
pascal@13591 13 DEPENDS="e2fsprogs"
pascal@13591 14 BUILD_DEPENDS="cmake e2fsprogs-dev libboost-system-dev libboost-filesystem-dev \
pascal@13591 15 libboost-regex-dev libboost-signals-dev libboost-serialization-dev audit-dev perl"
pascal@13591 16
pascal@13591 17 # Rules to configure and make the package.
pascal@13591 18 compile_rules()
pascal@13591 19 {
pascal@13591 20 cd $src
pascal@13591 21 patch -p0 < $stuff/e4rat-boost.u
pascal@13591 22 cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr . &&
pascal@13591 23 make && make install
pascal@13591 24 }
pascal@13591 25
pascal@13591 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 27 genpkg_rules()
pascal@13591 28 {
pascal@13591 29 mkdir -p $fs
pascal@13591 30 cp -a $install/etc $fs
pascal@13591 31 cp -a $install/var $fs
pascal@13591 32 cp -a $install/usr/sbin $fs/usr
pascal@13591 33 cp -a $install/usr/lib $fs/usr
pascal@13591 34 }