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