wok-current annotate libmcs/receipt @ rev 3012
Up: Xorg libs to 7.4
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 11 22:29:33 2009 +0200 (2009-05-11) |
parents | fc784f29b3f6 |
children | 02bbaa9d12ba |
rev | line source |
---|---|
mimas@2028 | 1 # SliTaz package receipt. |
mimas@2028 | 2 |
mimas@2028 | 3 PACKAGE="libmcs" |
mimas@2028 | 4 VERSION="0.7.1" |
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" |
mimas@2028 | 12 |
mimas@2028 | 13 # Rules to configure and make the package. |
mimas@2028 | 14 compile_rules() |
mimas@2028 | 15 { |
mimas@2028 | 16 cd $src |
mimas@2028 | 17 ./configure \ |
mimas@2028 | 18 --prefix=/usr \ |
mimas@2028 | 19 --infodir=/usr/share/info \ |
mimas@2028 | 20 --mandir=/usr/share/man \ |
pascal@2054 | 21 $CONFIGURE_ARGS && |
pascal@2054 | 22 make && |
mimas@2028 | 23 make DESTDIR=$PWD/_pkg install |
mimas@2028 | 24 } |
mimas@2028 | 25 |
mimas@2028 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2028 | 27 genpkg_rules() |
mimas@2028 | 28 { |
mimas@2028 | 29 mkdir -p $fs/usr/lib |
mimas@2028 | 30 cp -a $_pkg/usr/bin $fs/usr |
mimas@2028 | 31 cp -a $_pkg/usr/lib/libmcs.so* $fs/usr/lib/ |
mimas@2028 | 32 cp -a $_pkg/usr/lib/mcs $fs/usr/lib/ |
mimas@2028 | 33 |
mimas@2028 | 34 strip -s $fs/usr/bin/* |
mimas@2028 | 35 strip -s $fs/usr/lib/*.so* |
mimas@2028 | 36 } |
mimas@2028 | 37 |