wok-6.x view libmcs/receipt @ rev 14668

embryo-dev: Up to 1.7.7
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:08:24 2013 +0200 (2013-06-06)
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 }