# HG changeset patch # User Pascal Bellard # Date 1219996520 0 # Node ID 4ef973ba95a4c3a17183bb58c346e3bf973af49a # Parent d6723df895bb5a9930fefa0ed244eadbdf55e803 Add mhash diff -r d6723df895bb -r 4ef973ba95a4 mhash-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mhash-dev/receipt Fri Aug 29 07:55:20 2008 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="mhash-dev" +VERSION="0.9.9" +CATEGORY="development" +SHORT_DESC="uniform interface to a large number of hash algorithms devel files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://mhash.sourceforge.net/" +WANTED="mhash" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/libmhash*a $fs/usr/lib +} + diff -r d6723df895bb -r 4ef973ba95a4 mhash/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mhash/receipt Fri Aug 29 07:55:20 2008 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="mhash" +VERSION="0.9.9" +CATEGORY="development" +SHORT_DESC="uniform interface to a large number of hash algorithms." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://mhash.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/libmhash.so* $fs/usr/lib +} +