wok-6.x annotate libmcs/receipt @ rev 25508

Up memtest (6.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 10:26:56 2023 +0000 (22 months ago)
parents b569b85b0fb9
children
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"
pascal@24978 11 WGET_URL="https://github.com/atheme-legacy/libmcs/archive/$PACKAGE-$VERSION.tar.gz"
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