wok-next annotate e4rat/receipt @ rev 20080
fix
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 11:39:56 2017 +0200 (2017-10-25) |
parents | 328b6e417d66 |
children | 747445a60dca |
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" |
al@19765 | 14 BUILD_DEPENDS="cmake e2fsprogs-dev libboost-dev libboost-system \ |
al@19765 | 15 libboost-filesystem libboost-regex libboost-signals libboost-serialization \ |
al@19765 | 16 audit-dev perl" |
pascal@13591 | 17 |
pascal@13591 | 18 # Rules to configure and make the package. |
pascal@13591 | 19 compile_rules() |
pascal@13591 | 20 { |
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 |
al@18534 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18534 | 27 genpkg_rules() |
pascal@13591 | 28 { |
al@18534 | 29 mkdir -p $fs/usr |
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 } |