wok annotate libmcs/receipt @ rev 12278

ocsinventory-agnt: Fix config file
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Apr 15 14:26:19 2012 +0200 (2012-04-15)
parents fa0fb58bdd9f
children 8f447cf2eee5
rev   line source
mimas@2028 1 # SliTaz package receipt.
mimas@2028 2
mimas@2028 3 PACKAGE="libmcs"
slaxemulator@10242 4 VERSION="0.7.2"
pascal@2054 5 CATEGORY="system-tools"
mimas@2028 6 SHORT_DESC="Library for configuration storage"
mimas@2028 7 MAINTAINER="mimas@slitaz.org"
mimas@2028 8 TARBALL="$PACKAGE-$VERSION.tgz"
mimas@2028 9 WEB_SITE="http://www.atheme.org/libmcs/"
mimas@2028 10 WGET_URL="http://distfiles.atheme.org/$TARBALL"
pascal@2477 11 DEPENDS="libmowgli"
erjo@9919 12 BUILD_DEPENDS="libmowgli-dev"
mimas@2028 13
mimas@2028 14 # Rules to configure and make the package.
mimas@2028 15 compile_rules()
mimas@2028 16 {
mimas@2028 17 cd $src
slaxemulator@10242 18 sed -i "s/touch -t 0001010000 /touch /g" configure
slaxemulator@10242 19 ./configure $CONFIGURE_ARGS &&
slaxemulator@10242 20 make &&
slaxemulator@10242 21 make DESTDIR=$DESTDIR install
mimas@2028 22 }
mimas@2028 23
mimas@2028 24 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2028 25 genpkg_rules()
mimas@2028 26 {
mimas@2028 27 mkdir -p $fs/usr/lib
mimas@2028 28 cp -a $_pkg/usr/bin $fs/usr
mimas@2028 29 cp -a $_pkg/usr/lib/libmcs.so* $fs/usr/lib/
mimas@2028 30 cp -a $_pkg/usr/lib/mcs $fs/usr/lib/
mimas@2028 31 }
mimas@2028 32