wok-current view gadmin-sendmail/receipt @ rev 15860

libmowgli: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 30 09:02:32 2014 +0000 (2014-01-30)
parents f0b3c2e08955
children 8dd8bab3f0ca
line source
1 # SliTaz package receipt.
3 PACKAGE="gadmin-sendmail"
4 VERSION="0.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="GTK+ configuration tool for sendmail."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://dalalven.dtdns.net/linux/gadmintools-webpage/"
11 WGET_URL="http://dalalven.dtdns.net/linux/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ sendmail"
14 BUILD_DEPENDS="gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/applications
34 cp -a $install/etc $fs
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/share/pixmaps $fs/usr/share
37 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
38 }