wok annotate libmowgli/receipt @ rev 15860

libmowgli: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 30 09:02:32 2014 +0000 (2014-01-30)
parents f770bc93de18
children eeba7ab1dffe
rev   line source
mimas@2029 1 # SliTaz package receipt.
mimas@2029 2
mimas@2029 3 PACKAGE="libmowgli"
slaxemulator@15856 4 VERSION="2.0.0"
pascal@2054 5 CATEGORY="system-tools"
mimas@2029 6 SHORT_DESC="High performance and highly flexible algorithms."
mimas@2029 7 MAINTAINER="mimas@slitaz.org"
pascal@15473 8 LICENSE="BSD"
slaxemulator@15856 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@15856 10 WEB_SITE="http://www.atheme.org/projects/mowgli"
slaxemulator@15856 11 WGET_URL="https://github.com/atheme/libmowgli-2/archive/$TARBALL"
slaxemulator@15856 12
slaxemulator@15856 13 BUILD_DEPENDS="wget"
mimas@2029 14
mimas@2029 15 # Rules to configure and make the package.
mimas@2029 16 compile_rules()
mimas@2029 17 {
mimas@2029 18 cd $src
slaxemulator@10243 19 sed -i "s/touch -t 0001010000 /touch /g" configure
mimas@2029 20 ./configure \
pascal@2054 21 $CONFIGURE_ARGS &&
slaxemulator@10243 22 make && make install
mimas@2029 23 }
mimas@2029 24
mimas@2029 25 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2029 26 genpkg_rules()
mimas@2029 27 {
mimas@2029 28 mkdir -p $fs/usr/lib
pascal@15860 29 cp -a $install/usr/lib/libmowgli*.so* $fs/usr/lib
mimas@2029 30 }