wok-current view libmcs/receipt @ rev 22411
VLC: request of --enable-run-as-root, see http://forum.slitaz.org/topic/vlc-player-does-not-run-on-root
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri Dec 13 13:43:22 2019 +0000 (2019-12-13) |
parents | e9f0fb583bb5 |
children | b569b85b0fb9 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="https://github.com/atheme-legacy/libmcs/"
11 WGET_URL="http://distfiles.atheme.org/$TARBALL"
13 DEPENDS="libmowgli"
14 BUILD_DEPENDS="libmowgli-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/libmowgli/libmowgli-2/' configure configure.ac libmcs.pc.in
21 sed -i "s/touch -t 0001010000 /touch /g" configure
22 ./configure $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/
33 cp -a $install/usr/lib/mcs $fs/usr/lib/
34 }