wok annotate libmcs/receipt @ rev 24463
updated dar (2.6.7 -> 2.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 07:23:25 2022 +0100 (2022-02-17) |
parents | eeba7ab1dffe |
children | 00e3b45c063b |
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@24308 | 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 |
pascal@24308 | 16 # What is the latest version available today? |
pascal@24308 | 17 current_version() |
pascal@24308 | 18 { |
pascal@24308 | 19 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 21 } |
pascal@24308 | 22 |
mimas@2028 | 23 # Rules to configure and make the package. |
mimas@2028 | 24 compile_rules() |
mimas@2028 | 25 { |
mimas@2028 | 26 cd $src |
pascal@16607 | 27 sed -i 's/libmowgli/libmowgli-2/' configure configure.ac libmcs.pc.in |
slaxemulator@10242 | 28 sed -i "s/touch -t 0001010000 /touch /g" configure |
slaxemulator@10242 | 29 ./configure $CONFIGURE_ARGS && |
slaxemulator@10242 | 30 make && |
slaxemulator@10242 | 31 make DESTDIR=$DESTDIR install |
mimas@2028 | 32 } |
mimas@2028 | 33 |
mimas@2028 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2028 | 35 genpkg_rules() |
mimas@2028 | 36 { |
mimas@2028 | 37 mkdir -p $fs/usr/lib |
pascal@15473 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15473 | 39 cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/ |
pascal@15473 | 40 cp -a $install/usr/lib/mcs $fs/usr/lib/ |
mimas@2028 | 41 } |
mimas@2028 | 42 |