wok view libmcs/receipt @ rev 10242

Up: libmcs to 0.7.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 01:40:26 2011 +0000 (2011-05-21)
parents fa0fb58bdd9f
children 8f447cf2eee5
line source
1 # SliTaz package receipt.
3 PACKAGE="libmcs"
4 VERSION="0.7.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library for configuration storage"
7 MAINTAINER="mimas@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://www.atheme.org/libmcs/"
10 WGET_URL="http://distfiles.atheme.org/$TARBALL"
11 DEPENDS="libmowgli"
12 BUILD_DEPENDS="libmowgli-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i "s/touch -t 0001010000 /touch /g" configure
19 ./configure $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/libmcs.so* $fs/usr/lib/
30 cp -a $_pkg/usr/lib/mcs $fs/usr/lib/
31 }