wok-next diff libmcs/receipt @ rev 20496
Packages with tag "Xfce": fix (b)deps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 14 17:14:32 2018 +0200 (2018-03-14) |
parents | e9f0fb583bb5 |
children | 8e1b2a143eb3 |
line diff
1.1 --- a/libmcs/receipt Thu May 08 08:21:41 2014 +0000 1.2 +++ b/libmcs/receipt Wed Mar 14 17:14:32 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libmcs" 1.8 VERSION="0.7.2" 1.9 @@ -6,30 +6,36 @@ 1.10 SHORT_DESC="Library for configuration storage" 1.11 MAINTAINER="mimas@slitaz.org" 1.12 LICENSE="BSD" 1.13 +WEB_SITE="http://www.atheme.org/libmcs/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tgz" 1.16 -WEB_SITE="http://www.atheme.org/libmcs/" 1.17 WGET_URL="http://distfiles.atheme.org/$TARBALL" 1.18 1.19 -DEPENDS="libmowgli" 1.20 BUILD_DEPENDS="libmowgli-dev" 1.21 +SPLIT="libmcs-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - cd $src 1.27 +compile_rules() { 1.28 sed -i 's/libmowgli/libmowgli-2/' configure configure.ac libmcs.pc.in 1.29 sed -i "s/touch -t 0001010000 /touch /g" configure 1.30 - ./configure $CONFIGURE_ARGS && 1.31 - make && 1.32 + ./configure $CONFIGURE_ARGS && 1.33 + make && 1.34 make DESTDIR=$DESTDIR install 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 - mkdir -p $fs/usr/lib 1.41 - cp -a $install/usr/bin $fs/usr 1.42 - cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/ 1.43 - cp -a $install/usr/lib/mcs $fs/usr/lib/ 1.44 +genpkg_rules() { 1.45 + case $PACKAGE in 1.46 + libmcs) 1.47 + mkdir -p $fs/usr/lib 1.48 + cp -a $install/usr/bin $fs/usr 1.49 + cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/ 1.50 + cp -a $install/usr/lib/mcs $fs/usr/lib/ 1.51 + DEPENDS="libmowgli" 1.52 + ;; 1.53 + *-dev) 1.54 + mkdir -p $fs/usr/lib 1.55 + cp -a $install/usr/include $fs/usr/ 1.56 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.57 + DEPENDS="libmcs libmowgli-dev" 1.58 + ;; 1.59 + esac 1.60 } 1.61 -