wok-current annotate libaal/receipt @ rev 24425
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 11 17:50:36 2022 +0000 (2022-02-11) |
parents | 0092ce369ef4 |
children |
rev | line source |
---|---|
pascal@1689 | 1 # SliTaz package receipt. |
pascal@1689 | 2 |
pascal@1689 | 3 PACKAGE="libaal" |
Hans-G?nter@21110 | 4 VERSION="1.0.7" |
pascal@1689 | 5 CATEGORY="system-tools" |
pascal@1689 | 6 SHORT_DESC="Application abstraction library." |
pascal@1689 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15472 | 8 LICENSE="GPL" |
pascal@20421 | 9 WEB_SITE="https://www.kernel.org/" |
Hans-G?nter@21110 | 10 |
Hans-G?nter@21110 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21110 | 12 WGET_URL="$SF_MIRROR/reiser4/$TARBALL" |
pascal@1689 | 13 |
pascal@24411 | 14 # What is the latest version available today? |
pascal@24411 | 15 current_version() |
pascal@24411 | 16 { |
pascal@24411 | 17 wget -O - https://sourceforge.net/projects//reiser4/files/reiser4-utils/libaal/ 2>/dev/null | \ |
pascal@24411 | 18 sed '/scope="row/!d;/tar/!d;s|.*/libaal-||;s|.tar.*||;q' |
pascal@24411 | 19 } |
pascal@24411 | 20 |
pascal@1689 | 21 # Rules to configure and make the package. |
pascal@1689 | 22 compile_rules() |
pascal@1689 | 23 { |
Hans-G?nter@21110 | 24 ./configure \ |
Hans-G?nter@21110 | 25 --prefix=/usr \ |
Hans-G?nter@21110 | 26 --infodir=/usr/share/info \ |
Hans-G?nter@21110 | 27 --mandir=/usr/share/man \ |
Hans-G?nter@21110 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@21110 | 29 make -j 1 && |
pascal@15472 | 30 make DESTDIR=$DESTDIR install |
pascal@1689 | 31 } |
pascal@1689 | 32 |
pascal@1689 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1689 | 34 genpkg_rules() |
pascal@1689 | 35 { |
pascal@1689 | 36 mkdir -p $fs/usr/lib |
pascal@15472 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1689 | 38 } |