wok-next annotate libmcs/receipt @ rev 2074
Add: xfce-mcs-manager*, xfce-mcs-plugins, xfce-utils
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jan 23 23:08:07 2009 +0100 (2009-01-23) |
parents | 5348e6d56f4e |
children | 4786cbebbb4b |
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" |
mimas@2028 | 11 |
mimas@2028 | 12 # Rules to configure and make the package. |
mimas@2028 | 13 compile_rules() |
mimas@2028 | 14 { |
mimas@2028 | 15 cd $src |
mimas@2028 | 16 ./configure \ |
mimas@2028 | 17 --prefix=/usr \ |
mimas@2028 | 18 --infodir=/usr/share/info \ |
mimas@2028 | 19 --mandir=/usr/share/man \ |
pascal@2054 | 20 $CONFIGURE_ARGS && |
pascal@2054 | 21 make && |
mimas@2028 | 22 make DESTDIR=$PWD/_pkg install |
mimas@2028 | 23 } |
mimas@2028 | 24 |
mimas@2028 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2028 | 26 genpkg_rules() |
mimas@2028 | 27 { |
mimas@2028 | 28 mkdir -p $fs/usr/lib |
mimas@2028 | 29 cp -a $_pkg/usr/bin $fs/usr |
mimas@2028 | 30 cp -a $_pkg/usr/lib/libmcs.so* $fs/usr/lib/ |
mimas@2028 | 31 cp -a $_pkg/usr/lib/mcs $fs/usr/lib/ |
mimas@2028 | 32 |
mimas@2028 | 33 strip -s $fs/usr/bin/* |
mimas@2028 | 34 strip -s $fs/usr/lib/*.so* |
mimas@2028 | 35 } |
mimas@2028 | 36 |