wok-next annotate libmcs/receipt @ rev 20949

Fix homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 01 16:21:51 2018 +0300 (2018-09-01)
parents 4396aed7eb01
children d2950281f122
rev   line source
al@20464 1 # SliTaz package receipt v2.
mimas@2028 2
mimas@2028 3 PACKAGE="libmcs"
slaxemulator@10242 4 VERSION="0.7.2"
pascal@2054 5 CATEGORY="system-tools"
mimas@2028 6 SHORT_DESC="Library for configuration storage"
mimas@2028 7 MAINTAINER="mimas@slitaz.org"
pascal@15473 8 LICENSE="BSD"
al@20949 9 WEB_SITE="https://github.com/atheme-legacy/libmcs/"
al@20464 10
mimas@2028 11 TARBALL="$PACKAGE-$VERSION.tgz"
mimas@2028 12 WGET_URL="http://distfiles.atheme.org/$TARBALL"
pascal@15473 13
erjo@9919 14 BUILD_DEPENDS="libmowgli-dev"
al@20464 15 SPLIT="libmcs-dev"
mimas@2028 16
al@20464 17 compile_rules() {
pascal@16607 18 sed -i 's/libmowgli/libmowgli-2/' configure configure.ac libmcs.pc.in
slaxemulator@10242 19 sed -i "s/touch -t 0001010000 /touch /g" configure
al@20464 20 ./configure $CONFIGURE_ARGS &&
al@20464 21 make &&
slaxemulator@10242 22 make DESTDIR=$DESTDIR install
mimas@2028 23 }
mimas@2028 24
al@20464 25 genpkg_rules() {
al@20464 26 case $PACKAGE in
al@20464 27 libmcs)
al@20464 28 mkdir -p $fs/usr/lib
al@20464 29 cp -a $install/usr/bin $fs/usr
al@20464 30 cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/
al@20464 31 cp -a $install/usr/lib/mcs $fs/usr/lib/
al@20464 32 DEPENDS="libmowgli"
al@20464 33 ;;
al@20464 34 *-dev)
al@20464 35 mkdir -p $fs/usr/lib
al@20464 36 cp -a $install/usr/include $fs/usr/
al@20464 37 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
al@20464 38 DEPENDS="libmcs libmowgli-dev"
al@20464 39 ;;
al@20464 40 esac
mimas@2028 41 }