wok-6.x annotate libmcs/receipt @ rev 23863
syslinux/isoboot.s: accept user args
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 19 15:46:21 2020 +0000 (2020-06-19) |
parents | e9f0fb583bb5 |
children | b569b85b0fb9 |
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" |
pascal@20674 | 10 WEB_SITE="https://github.com/atheme-legacy/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 |