wok-6.x view e4rat/receipt @ rev 25018

updated openjpeg, openjpeg-dev and openjpeg-tools again (1.5.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Wed May 18 07:14:08 2022 +0100 (2022-05-18)
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 }