wok-6.x view libmcs/receipt @ rev 12756
asterisk: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 10:02:55 2012 +0200 (2012-05-12) |
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 }