wok-next view libmcs/receipt @ rev 2334
squidguard: relocate configfile, add post_remove function, restart squid after install/remove package.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 01 08:53:15 2009 +0100 (2009-03-01) |
parents | 5348e6d56f4e |
children | 4786cbebbb4b |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmcs"
4 VERSION="0.7.1"
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/libmcs.so* $fs/usr/lib/
31 cp -a $_pkg/usr/lib/mcs $fs/usr/lib/
33 strip -s $fs/usr/bin/*
34 strip -s $fs/usr/lib/*.so*
35 }