wok-next view libmcs/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
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 }