wok-current view libgringotts/receipt @ rev 24491

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 18 22:59:06 2022 +0000 (2022-02-18)
parents 26db6f06afaf
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libgringotts"
4 VERSION="1.2.1"
5 CATEGORY="security"
6 SHORT_DESC="A Safebox for your Data."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gringotts.shlomifish.org/"
11 WGET_URL="$SF_MIRROR/gringotts.berlios/$TARBALL"
13 DEPENDS="bzip2 zlib libmcrypt mhash"
14 BUILD_DEPENDS="bzip2-dev zlib-dev libmcrypt-dev mhash-dev file"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/gringotts.berlios/files/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/gringotts-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }