# SliTaz package receipt. PACKAGE="plotdrop" VERSION="0.5.4" CATEGORY="graphics" SHORT_DESC="A minimal GTK frontend to GNUPlot." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://plotdrop.sourceforge.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/project/$PACKAGE/$TARBALL" DEPENDS="expat gnuplot gtk+ libglade libxml2 xorg-libX11" BUILD_DEPENDS="glib-dev libglade-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/plotdrop/files/ 2>/dev/null | \ sed '/scope="row/!d;/plotdrop/!d;/tar/!d;s|.*/plotdrop-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { make PREFIX=/usr && make PREFIX=/usr DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr cp -a $install/usr/share $fs/usr rm $fs/usr/share/$PACKAGE/*.png }