wok-6.x view mhash/receipt @ rev 14509

get-src2pkg: fix pkg name
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:41:25 2013 +0200 (2013-05-14)
parents 4ef973ba95a4
children 3765f181a6d5
line source
1 # SliTaz package receipt.
3 PACKAGE="mhash"
4 VERSION="0.9.9.9"
5 CATEGORY="development"
6 SHORT_DESC="uniform interface to a large number of hash algorithms."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://mhash.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/lib/libmhash.so* $fs/usr/lib
27 }