wok view mhash/receipt @ rev 12085
fpm2: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:47:23 2012 -0500 (2012-03-09) |
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 }