wok-next annotate libmcs/receipt @ rev 20956

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 00:08:37 2018 +0300 (2018-09-05)
parents 8e1b2a143eb3
children d5aab818505e
rev   line source
al@20464 1 # SliTaz package receipt v2.
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"
al@20949 9 WEB_SITE="https://github.com/atheme-legacy/libmcs/"
al@20464 10
mimas@2028 11 TARBALL="$PACKAGE-$VERSION.tgz"
mimas@2028 12 WGET_URL="http://distfiles.atheme.org/$TARBALL"
pascal@15473 13
erjo@9919 14 BUILD_DEPENDS="libmowgli-dev"
al@20464 15 SPLIT="libmcs-dev"
mimas@2028 16
al@20464 17 compile_rules() {
pascal@16607 18 sed -i 's/libmowgli/libmowgli-2/' configure configure.ac libmcs.pc.in
slaxemulator@10242 19 sed -i "s/touch -t 0001010000 /touch /g" configure
al@20464 20 ./configure $CONFIGURE_ARGS &&
al@20464 21 make &&
slaxemulator@10242 22 make DESTDIR=$DESTDIR install
mimas@2028 23 }
mimas@2028 24
al@20464 25 genpkg_rules() {
al@20464 26 case $PACKAGE in
al@20464 27 libmcs)
al@20956 28 copy @std
al@20464 29 DEPENDS="libmowgli"
al@20464 30 ;;
al@20464 31 *-dev)
al@20956 32 copy @dev
al@20464 33 DEPENDS="libmcs libmowgli-dev"
al@20464 34 ;;
al@20464 35 esac
mimas@2028 36 }