wok-next view libmcs/receipt @ rev 21037

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 06 16:35:54 2018 +0200 (2018-11-06)
parents d2950281f122
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libmcs"
4 VERSION="0.7.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library for configuration storage"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/atheme-legacy/libmcs/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://distfiles.atheme.org/$TARBALL"
14 BUILD_DEPENDS="libmowgli-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 sed -i 's|libmowgli|libmowgli-2|' configure configure.ac libmcs.pc.in
19 sed -i 's|touch -t 0001010000 |touch |g' configure
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$install install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libmcs)
29 copy @std
30 DEPENDS="libmowgli"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="libmcs libmowgli-dev"
35 ;;
36 esac
37 }