wok-next annotate mhash/receipt @ rev 20462

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 06 03:00:01 2018 +0200 (2018-03-06)
parents 3765f181a6d5
children 9e5dca6702bf
rev   line source
al@20462 1 # SliTaz package receipt v2.
pascal@1323 2
pascal@1323 3 PACKAGE="mhash"
slaxemulator@6545 4 VERSION="0.9.9.9"
pascal@1323 5 CATEGORY="development"
al@20462 6 SHORT_DESC="Uniform interface to a large number of hash algorithms"
pascal@1323 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15584 8 LICENSE="GPL2"
al@20462 9 WEB_SITE="http://mhash.sourceforge.net/"
al@20462 10
pascal@1323 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1323 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@1323 13
al@20462 14 SPLIT="mhash-dev"
al@20462 15
al@20462 16 compile_rules() {
al@20462 17 ./configure \
al@20462 18 --prefix=/usr \
al@20462 19 --infodir=/usr/share/info \
al@20462 20 --mandir=/usr/share/man \
al@20462 21 $CONFIGURE_ARGS &&
al@20462 22 make &&
pascal@15584 23 make DESTDIR=$DESTDIR install
pascal@1323 24 }
pascal@1323 25
al@20462 26 genpkg_rules() {
al@20462 27 case $PACKAGE in
al@20462 28 mhash)
al@20462 29 mkdir -p $fs/usr/lib
al@20462 30 cp -a $install/usr/lib/libmhash.so* $fs/usr/lib
al@20462 31 ;;
al@20462 32 *-dev)
al@20462 33 mkdir -p $fs/usr/lib
al@20462 34 cp -a $install/usr/include $fs/usr
al@20462 35 cp -a $install/usr/lib/libmhash*a $fs/usr/lib
al@20462 36 ;;
al@20462 37 esac
pascal@1323 38 }
pascal@1323 39