wok-6.x view gadmin-samba/receipt @ rev 17430

luafilesystem: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 05 18:06:40 2014 +0100 (2014-12-05)
parents 263740877e70
children 8dd8bab3f0ca
line source
1 # SliTaz package receipt.
3 PACKAGE="gadmin-samba"
4 VERSION="0.3.4"
5 CATEGORY="x-window"
6 SHORT_DESC="GTK+ configuration tool for SAMBA."
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+ samba"
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/var $fs
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/share/pixmaps $fs/usr/share
38 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
39 }