wok-next view libmcs/receipt @ rev 8551

imported patch get/fcitx-zm
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents fc784f29b3f6
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="libmcs"
4 VERSION="0.7.1"
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/libmcs.so* $fs/usr/lib/
32 cp -a $_pkg/usr/lib/mcs $fs/usr/lib/
34 strip -s $fs/usr/bin/*
35 strip -s $fs/usr/lib/*.so*
36 }