wok-next annotate e4rat/receipt @ rev 18920
Add brotli (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 24 17:34:26 2016 +0100 (2016-02-24) |
parents | 7d6089953592 |
children | 2f3aba6cc31e |
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 patch -p0 < $stuff/e4rat-boost.u |
pascal@13591 | 21 cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr . && |
pascal@13591 | 22 make && make install |
pascal@13591 | 23 } |
pascal@13591 | 24 |
al@18534 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18534 | 26 genpkg_rules() |
pascal@13591 | 27 { |
al@18534 | 28 mkdir -p $fs/usr |
pascal@13591 | 29 cp -a $install/etc $fs |
pascal@13591 | 30 cp -a $install/var $fs |
pascal@13591 | 31 cp -a $install/usr/sbin $fs/usr |
pascal@13591 | 32 cp -a $install/usr/lib $fs/usr |
pascal@13591 | 33 } |