wok view gadmin-samba/receipt @ rev 24824

updated libsdl2-image and libsdl2-image-dev (2.0.4 -> 2.0.5)
author Hans-G?nter Theisgen
date Wed Mar 23 16:49:16 2022 +0100 (2022-03-23)
parents 8dd8bab3f0ca
children 9c8ba5b98eb9
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="https://web.archive.org/web/20180218034430/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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
21 sed '/GAdmin-SAMBA:/!d;s|.*sion: ||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/applications
41 cp -a $install/etc $fs
42 cp -a $install/var $fs
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $install/usr/share/pixmaps $fs/usr/share
45 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
46 }