wok-next annotate libmcs/receipt @ rev 21143

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 25 15:37:19 2019 +0200 (2019-01-25)
parents d2950281f122
children
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"
al@21020 7 MAINTAINER="devel@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@21020 15 SPLIT="$PACKAGE-dev"
mimas@2028 16
al@20464 17 compile_rules() {
al@21020 18 sed -i 's|libmowgli|libmowgli-2|' configure configure.ac libmcs.pc.in
al@21020 19 sed -i 's|touch -t 0001010000 |touch |g' configure
al@21020 20
al@20464 21 ./configure $CONFIGURE_ARGS &&
al@20464 22 make &&
al@21020 23 make DESTDIR=$install install
mimas@2028 24 }
mimas@2028 25
al@20464 26 genpkg_rules() {
al@20464 27 case $PACKAGE in
al@20464 28 libmcs)
al@20956 29 copy @std
al@20464 30 DEPENDS="libmowgli"
al@20464 31 ;;
al@20464 32 *-dev)
al@20956 33 copy @dev
al@20464 34 DEPENDS="libmcs libmowgli-dev"
al@20464 35 ;;
al@20464 36 esac
mimas@2028 37 }