wok-current annotate beecrypt/receipt @ rev 25525
created recipe for lua5.1-lpeg 1.0.2
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:54:40 2023 +0100 (18 months ago) |
parents | 5f6c5106b1f5 |
children |
rev | line source |
---|---|
erjo@1433 | 1 # SliTaz package receipt. |
erjo@1433 | 2 |
erjo@1433 | 3 PACKAGE="beecrypt" |
slaxemulator@6518 | 4 VERSION="4.2.1" |
erjo@1433 | 5 CATEGORY="system-tools" |
erjo@1433 | 6 SHORT_DESC="Cryptography Library" |
erjo@1433 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15482 | 8 LICENSE="GPL2 LGPL2.1" |
erjo@1433 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25460 | 10 WEB_SITE="https://beecrypt.sourceforge.net/" |
pascal@1516 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@3567 | 12 TAGS="cryptography toolkit" |
erjo@1433 | 13 |
pascal@15482 | 14 DEPENDS="gcc-lib-base" |
pascal@15482 | 15 BUILD_DEPENDS="python-dev" |
pascal@15482 | 16 |
pascal@24340 | 17 # What is the latest version available today? |
pascal@24340 | 18 current_version() |
pascal@24340 | 19 { |
pascal@24340 | 20 wget -O - https://sourceforge.net/projects/beecrypt/files/beecrypt/ 2>/dev/null | \ |
pascal@24340 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24340 | 22 sed '/scope="row/!d;s|.*/beecrypt/||;s|/.*||;q' |
pascal@24340 | 23 } |
pascal@24340 | 24 |
erjo@1433 | 25 # Rules to configure and make the package. |
erjo@1433 | 26 compile_rules() |
erjo@1433 | 27 { |
erjo@1433 | 28 cd $src |
pascal@1519 | 29 ./configure --prefix=/usr --without-cplusplus $CONFIGURE_ARGS && |
pascal@1516 | 30 make && |
pascal@15482 | 31 make DESTDIR=$DESTDIR install |
erjo@1433 | 32 } |
erjo@1433 | 33 |
erjo@1433 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1433 | 35 genpkg_rules() |
erjo@1433 | 36 { |
erjo@1433 | 37 mkdir -p $fs/usr/lib |
pascal@15482 | 38 cp -a $install/usr/lib $fs/usr |
erjo@1433 | 39 # Deleting unnecessary file |
erjo@1433 | 40 find $fs/ -name "*.*a" -exec rm -f {} \; |
erjo@1433 | 41 } |
erjo@1433 | 42 |