# SliTaz package receipt. PACKAGE="gtkdialog" VERSION="0.8.3" CATEGORY="x-window" SHORT_DESC="Small utility for fast and easy GUI building using GTK+." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://github.com/oshazard/gtkdialog" WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL" DEPENDS="atk bzlib cairo expat fontconfig freetype gcc-lib-base \ gdk-pixbuf glib glibc-base gtk+ libffi libgio libglade libpng libxcb \ libxml2 pango pixman xorg-libX11 xorg-libXau xorg-libXcomposite \ xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \ xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib" BUILD_DEPENDS="gtk+-dev libglade-dev vte-dev" # What is the latest version available today? current_version() { wget -O - $WEB_SITE/commits/master 2>/dev/null | \ sed '/released/!d;s|.*Version ||;s| released.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/icons $fs/usr/share }