wok-current annotate e4rat/receipt @ rev 25176
updated python-formalchemy (1.5.5 -> 1.5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:52:21 2022 +0100 (2022-07-01) |
parents | 4bae0fb81a17 |
children | 7dd01dedad38 |
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 WEB_SITE="http://e4rat.sourceforge.net/" |
Hans-G?nter@25130 | 10 |
Hans-G?nter@25130 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@25130 | 13 WGET_URL="https://sourceforge.net/projects/$PACKAGE/files/$VERSION/${PACKAGE}_${VERSION}_src.tar.gz" |
pascal@13591 | 14 |
pascal@13591 | 15 DEPENDS="e2fsprogs" |
Hans-G?nter@25130 | 16 BUILD_DEPENDS="audit-dev cmake e2fsprogs-dev libboost-filesystem-dev |
Hans-G?nter@25130 | 17 libboost-regex-dev libboost-serialization-dev libboost-signals-dev |
Hans-G?nter@25130 | 18 libboost-system-dev perl" |
pascal@13591 | 19 |
pascal@24082 | 20 current_version() |
pascal@24082 | 21 { |
pascal@24082 | 22 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ |
pascal@24082 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24082 | 24 sed "/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).src.*\".*|\\1|;q" |
pascal@24082 | 25 } |
pascal@24082 | 26 |
pascal@13591 | 27 # Rules to configure and make the package. |
pascal@13591 | 28 compile_rules() |
pascal@13591 | 29 { |
pascal@19800 | 30 export LDFLAGS="$LDFLAGS -lcom_err" |
pascal@13591 | 31 patch -p0 < $stuff/e4rat-boost.u |
Hans-G?nter@25130 | 32 |
Hans-G?nter@25130 | 33 mkdir _build && |
Hans-G?nter@25130 | 34 cd _build && |
Hans-G?nter@25130 | 35 cmake .. \ |
Hans-G?nter@25130 | 36 -D CMAKE_BUILD_TYPE=release \ |
Hans-G?nter@25130 | 37 -D CMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@25130 | 38 make && |
Hans-G?nter@25130 | 39 make install |
pascal@13591 | 40 } |
pascal@13591 | 41 |
al@18534 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18534 | 43 genpkg_rules() |
pascal@13591 | 44 { |
al@18534 | 45 mkdir -p $fs/usr |
Hans-G?nter@25130 | 46 |
Hans-G?nter@25130 | 47 cp -a $install/etc $fs |
Hans-G?nter@25130 | 48 cp -a $install/var $fs |
Hans-G?nter@25130 | 49 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@25130 | 50 cp -a $install/usr/lib $fs/usr |
pascal@13591 | 51 } |