wok-6.x annotate mcrypt/receipt @ rev 24361
glibmm, glibmm-dev: fix Private:gobj()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 04 09:24:50 2022 +0000 (2022-02-04) |
parents | 3765f181a6d5 |
children | 7dd01dedad38 |
rev | line source |
---|---|
erjo@4381 | 1 # SliTaz package receipt. |
erjo@4381 | 2 |
erjo@4381 | 3 PACKAGE="mcrypt" |
erjo@4381 | 4 VERSION="2.6.8" |
pascal@5726 | 5 CATEGORY="security" |
erjo@4381 | 6 SHORT_DESC="Encryption" |
pascal@5724 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL3" |
erjo@4381 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@4381 | 10 WEB_SITE="http://mcrypt.sourceforge.net/" |
erjo@4381 | 11 WGET_URL="http://downloads.sourceforge.net/project/mcrypt/MCrypt/$VERSION/$TARBALL" |
erjo@4381 | 12 |
erjo@9959 | 13 DEPENDS="zlib mhash libmcrypt" |
erjo@9959 | 14 BUILD_DEPENDS="libmcrypt-dev libmcrypt-dev mhash-dev" |
erjo@9959 | 15 |
pascal@24361 | 16 # What is the latest version available today? |
pascal@24361 | 17 current_version() |
pascal@24361 | 18 { |
pascal@24361 | 19 wget -O - https://sourceforge.net/projects/mcrypt/files/MCrypt/ 2>/dev/null | \ |
pascal@24361 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24361 | 21 sed '/scope="row/!d;s|.*/MCrypt/||;s|/.*||;q' |
pascal@24361 | 22 } |
pascal@24361 | 23 |
erjo@4381 | 24 # Rules to configure and make the package. |
erjo@4381 | 25 compile_rules() |
erjo@4381 | 26 { |
erjo@4381 | 27 ./configure \ |
pascal@15256 | 28 --prefix=/usr $CONFIGURE_ARGS 2>&1 | grep -v libtoolT && |
gokhlayeh@11573 | 29 make && |
erjo@9959 | 30 make DESTDIR=$DESTDIR install |
erjo@4381 | 31 } |
erjo@4381 | 32 |
erjo@4381 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4381 | 34 genpkg_rules() |
erjo@4381 | 35 { |
erjo@4381 | 36 mkdir -p $fs/usr |
pascal@15584 | 37 cp -a $install/usr/bin $fs/usr |
erjo@4381 | 38 } |