wok view e4rat/receipt @ rev 21920

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