wok view libmcs/receipt @ rev 16391
Add: i2c-tools (for the Raspberry Pi GPIO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 15 14:19:15 2014 +0200 (2014-04-15) |
parents | fe88c6375da6 |
children | e9f0fb583bb5 |
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="http://www.atheme.org/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/touch -t 0001010000 /touch /g" configure
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/
32 cp -a $install/usr/lib/mcs $fs/usr/lib/
33 }