wok view libmcs/receipt @ rev 13388

Add autossh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 24 10:21:41 2012 +0200 (2012-09-24)
parents fa0fb58bdd9f
children 8f447cf2eee5
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 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://www.atheme.org/libmcs/"
10 WGET_URL="http://distfiles.atheme.org/$TARBALL"
11 DEPENDS="libmowgli"
12 BUILD_DEPENDS="libmowgli-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i "s/touch -t 0001010000 /touch /g" configure
19 ./configure $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/libmcs.so* $fs/usr/lib/
30 cp -a $_pkg/usr/lib/mcs $fs/usr/lib/
31 }