wok-current view beecrypt/receipt @ rev 25368

libmpd: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 29 10:44:25 2022 +0000 (2022-07-29)
parents 8d6f480bf664
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="beecrypt"
4 VERSION="4.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Cryptography Library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://beecrypt.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="cryptography toolkit"
14 DEPENDS="gcc-lib-base"
15 BUILD_DEPENDS="python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/beecrypt/files/beecrypt/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/beecrypt/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure --prefix=/usr --without-cplusplus $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib $fs/usr
39 # Deleting unnecessary file
40 find $fs/ -name "*.*a" -exec rm -f {} \;
41 }