wok-current view e4rat/receipt @ rev 24507
updated easy-rsa (3.0.6 -> 3.0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 16:37:53 2022 +0100 (2022-02-20) |
parents | 8dcf607135e8 |
children | 999b2a415099 |
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 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed "/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).src.*\".*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -lcom_err"
28 patch -p0 < $stuff/e4rat-boost.u
29 cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr . &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/etc $fs
38 cp -a $install/var $fs
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 }