# SliTaz package receipt. PACKAGE="gadmin-squid" VERSION="0.1.4" CATEGORY="x-window" SHORT_DESC="GTK+ configuration tool for SQUID." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://web.archive.org/web/20180218034430/http://dalalven.dtdns.net/linux/gadmintools-webpage/" WGET_URL="https://github.com/sedwards/gadmintools_src_pkgs/raw/master/$TARBALL" DEPENDS="gtk+ squid" BUILD_DEPENDS="gtk+-dev" # What is the latest version available today? current_version() { wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \ sed '/GAdmin-SQUID:/!d;s|.*sion: ||;s| .*||;q' } # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/applications cp -a $install/etc $fs cp -a $install/usr/sbin $fs/usr cp -a $install/usr/share/pixmaps $fs/usr/share cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications }