wok annotate gadmin-httpd/receipt @ rev 25548
aaphoto: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 23 17:05:06 2023 +0000 (20 months ago) |
parents | 52649f27a0da |
children |
rev | line source |
---|---|
pascal@14767 | 1 # SliTaz package receipt. |
pascal@14767 | 2 |
pascal@14767 | 3 PACKAGE="gadmin-httpd" |
pascal@14767 | 4 VERSION="0.1.5" |
pascal@14767 | 5 CATEGORY="x-window" |
pascal@14767 | 6 SHORT_DESC="GTK+ configuration tool for Apache." |
pascal@14767 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@14767 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20672 | 10 WEB_SITE="https://web.archive.org/web/20180218034430/http://dalalven.dtdns.net/linux/gadmintools-webpage/" |
pascal@25031 | 11 WGET_URL="https://github.com/sedwards/gadmintools_src_pkgs/raw/master/$TARBALL" |
pascal@14767 | 12 |
pascal@14767 | 13 DEPENDS="gtk+ apache" |
pascal@14767 | 14 BUILD_DEPENDS="gtk+-dev" |
pascal@14767 | 15 |
pascal@14767 | 16 |
pascal@24694 | 17 # What is the latest version available today? |
pascal@24694 | 18 current_version() |
pascal@24694 | 19 { |
pascal@24694 | 20 wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \ |
pascal@24694 | 21 sed '/GAdmin-HTTPD:/!d;s|.*sion: ||;s| .*||;q' |
pascal@24694 | 22 } |
pascal@24694 | 23 |
pascal@14767 | 24 # Rules to configure and make the package. |
pascal@14767 | 25 compile_rules() |
pascal@14767 | 26 { |
pascal@14767 | 27 cd $src |
pascal@14767 | 28 ./configure --prefix=/usr \ |
pascal@14767 | 29 --sysconfdir=/etc \ |
pascal@14767 | 30 --localstatedir=/var \ |
pascal@14767 | 31 --mandir=/usr/share/man \ |
pascal@14767 | 32 $CONFIGURE_ARGS && |
pascal@14767 | 33 make && |
pascal@14767 | 34 make DESTDIR=$DESTDIR install |
pascal@14767 | 35 } |
pascal@14767 | 36 |
pascal@14767 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14767 | 38 genpkg_rules() |
pascal@14767 | 39 { |
pascal@14767 | 40 mkdir -p $fs/usr/share/applications |
pascal@14767 | 41 cp -a $install/etc $fs |
pascal@14767 | 42 cp -a $install/usr/sbin $fs/usr |
pascal@14767 | 43 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@14767 | 44 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications |
pascal@14767 | 45 } |