wok-next annotate libmcs/receipt @ rev 15473
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 09 20:47:29 2013 +0000 (2013-11-09) |
parents | fe88c6375da6 |
children | e9f0fb583bb5 |
rev | line source |
---|---|
mimas@2028 | 1 # SliTaz package receipt. |
mimas@2028 | 2 |
mimas@2028 | 3 PACKAGE="libmcs" |
slaxemulator@10242 | 4 VERSION="0.7.2" |
pascal@2054 | 5 CATEGORY="system-tools" |
mimas@2028 | 6 SHORT_DESC="Library for configuration storage" |
mimas@2028 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@15473 | 8 LICENSE="BSD" |
mimas@2028 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
mimas@2028 | 10 WEB_SITE="http://www.atheme.org/libmcs/" |
mimas@2028 | 11 WGET_URL="http://distfiles.atheme.org/$TARBALL" |
pascal@15473 | 12 |
pascal@2477 | 13 DEPENDS="libmowgli" |
erjo@9919 | 14 BUILD_DEPENDS="libmowgli-dev" |
mimas@2028 | 15 |
mimas@2028 | 16 # Rules to configure and make the package. |
mimas@2028 | 17 compile_rules() |
mimas@2028 | 18 { |
mimas@2028 | 19 cd $src |
slaxemulator@10242 | 20 sed -i "s/touch -t 0001010000 /touch /g" configure |
slaxemulator@10242 | 21 ./configure $CONFIGURE_ARGS && |
slaxemulator@10242 | 22 make && |
slaxemulator@10242 | 23 make DESTDIR=$DESTDIR 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 |
pascal@15473 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15473 | 31 cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/ |
pascal@15473 | 32 cp -a $install/usr/lib/mcs $fs/usr/lib/ |
mimas@2028 | 33 } |
mimas@2028 | 34 |