wok-current annotate libmcs/receipt @ rev 19453
Up firefox-official (49.0.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 21 10:19:29 2016 +0300 (2016-10-21) |
parents | 8f447cf2eee5 |
children | eeba7ab1dffe |
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 |
pascal@16607 | 20 sed -i 's/libmowgli/libmowgli-2/' configure configure.ac libmcs.pc.in |
slaxemulator@10242 | 21 sed -i "s/touch -t 0001010000 /touch /g" configure |
slaxemulator@10242 | 22 ./configure $CONFIGURE_ARGS && |
slaxemulator@10242 | 23 make && |
slaxemulator@10242 | 24 make DESTDIR=$DESTDIR install |
mimas@2028 | 25 } |
mimas@2028 | 26 |
mimas@2028 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2028 | 28 genpkg_rules() |
mimas@2028 | 29 { |
mimas@2028 | 30 mkdir -p $fs/usr/lib |
pascal@15473 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15473 | 32 cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/ |
pascal@15473 | 33 cp -a $install/usr/lib/mcs $fs/usr/lib/ |
mimas@2028 | 34 } |
mimas@2028 | 35 |