wok-6.x annotate libmcrypt/receipt @ rev 22430

Add sshrc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 20 19:07:35 2019 +0100 (2019-12-20)
parents 8f447cf2eee5
children 370da83187ab
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
erjo@4380 15 # Rules to configure and make the package.
erjo@4380 16 compile_rules()
erjo@4380 17 {
erjo@4380 18 ./configure \
erjo@4380 19 --prefix=/usr \
erjo@4380 20 --infodir=/usr/share/info \
erjo@4380 21 --mandir=/usr/share/man \
erjo@4380 22 $CONFIGURE_ARGS &&
pascal@15473 23 make && make DESTDIR=$DESTDIR install
erjo@4380 24 }
erjo@4380 25
erjo@4380 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4380 27 genpkg_rules()
erjo@4380 28 {
erjo@4380 29 mkdir -p $fs/usr/lib
pascal@15473 30 cp -a $install/usr/lib/libmcrypt $fs/usr/lib
pascal@15473 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@4380 32 }