wok view e4rat/receipt @ rev 14509
get-src2pkg: fix pkg name
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 14 07:41:25 2013 +0200 (2013-05-14) |
parents | |
children | 7d6089953592 |
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 TARBALL="${PACKAGE}_${VERSION}_src.tar.gz"
9 WEB_SITE="http://e4rat.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="e2fsprogs"
13 BUILD_DEPENDS="cmake e2fsprogs-dev libboost-system-dev libboost-filesystem-dev \
14 libboost-regex-dev libboost-signals-dev libboost-serialization-dev audit-dev perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -p0 < $stuff/e4rat-boost.u
21 cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr . &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs
29 cp -a $install/etc $fs
30 cp -a $install/var $fs
31 cp -a $install/usr/sbin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }