wok-current view libmcrypt/receipt @ rev 25642
Bump linux to 4.19.305, add linux-pae-ipv6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Jan 17 12:05:22 2024 +0000 (11 months ago) |
parents | 7dd01dedad38 |
children | 5926178cd6fa |
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="https://mcrypt.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/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 }