wok-6.x annotate libmcrypt/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 | d3eb5f4b53ea |
children | 7dd01dedad38 |
rev | line source |
---|---|
erjo@4380 | 1 # SliTaz package receipt. |
erjo@4380 | 2 |
erjo@4380 | 3 PACKAGE="libmcrypt" |
erjo@4380 | 4 VERSION="2.5.8" |
pascal@5726 | 5 CATEGORY="security" |
erjo@4380 | 6 SHORT_DESC="Encryption Library" |
pascal@5724 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15473 | 8 LICENSE="LGPL2.1" |
erjo@4380 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@4380 | 10 WEB_SITE="http://mcrypt.sourceforge.net/" |
pascal@17869 | 11 WGET_URL="http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/$VERSION/$TARBALL" |
erjo@4380 | 12 |
pascal@15473 | 13 DEPENDS="" |
pascal@15473 | 14 |
pascal@24361 | 15 # What is the latest version available today? |
pascal@24361 | 16 current_version() |
pascal@24361 | 17 { |
pascal@24361 | 18 wget -O - https://sourceforge.net/projects/mcrypt/files/Libmcrypt/ 2>/dev/null | \ |
pascal@24361 | 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24361 | 20 sed '/scope="row/!d;s|.*/Libmcrypt/||;s|/.*||;q' |
pascal@24361 | 21 } |
pascal@24361 | 22 |
erjo@4380 | 23 # Rules to configure and make the package. |
erjo@4380 | 24 compile_rules() |
erjo@4380 | 25 { |
erjo@4380 | 26 ./configure \ |
erjo@4380 | 27 --prefix=/usr \ |
erjo@4380 | 28 --infodir=/usr/share/info \ |
erjo@4380 | 29 --mandir=/usr/share/man \ |
erjo@4380 | 30 $CONFIGURE_ARGS && |
pascal@15473 | 31 make && make DESTDIR=$DESTDIR install |
erjo@4380 | 32 } |
erjo@4380 | 33 |
erjo@4380 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4380 | 35 genpkg_rules() |
erjo@4380 | 36 { |
erjo@4380 | 37 mkdir -p $fs/usr/lib |
pascal@15473 | 38 cp -a $install/usr/lib/libmcrypt $fs/usr/lib |
pascal@15473 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@4380 | 40 } |