wok-6.x annotate e4rat/receipt @ rev 20413

*l2tp*: add doc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 02 11:37:36 2018 +0200 (2018-08-02)
parents 328b6e417d66
children 4bae0fb81a17
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@19800 20 export LDFLAGS="$LDFLAGS -lcom_err"
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 }