wok-next view libmcs/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | e9f0fb583bb5 |
children | 8e1b2a143eb3 |
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="mimas@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.atheme.org/libmcs/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://distfiles.atheme.org/$TARBALL"
14 BUILD_DEPENDS="libmowgli-dev"
15 SPLIT="libmcs-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
20 ./configure $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libmcs)
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/
31 cp -a $install/usr/lib/mcs $fs/usr/lib/
32 DEPENDS="libmowgli"
33 ;;
34 *-dev)
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/include $fs/usr/
37 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
38 DEPENDS="libmcs libmowgli-dev"
39 ;;
40 esac
41 }