# SliTaz package receipt. PACKAGE="florence" VERSION="0.6.3" CATEGORY="utilities" SHORT_DESC="On-screen virtual keyboard." MAINTAINER="psychomaniak@xakep.ru" LICENSE="GPL" WEB_SITE="https://sourceforge.net/projects/florence/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" DEPENDS="at-spi2 at-spi2-atk GConf gstreamer-1.0 gtk+3 librsvg" BUILD_DEPENDS="at-spi2 at-spi2-atk file GConf-dev gstreamer-1.0-dev gnome-doc-utils gnome-doc-utils-dev gtk+3-dev libnotify-dev librsvg-dev util-linux-uuid-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects//florence/files/florence/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/florence/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --without-panelapplet \ --without-docs \ --without-notification \ --disable-schemas-compile make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs sed 's|Categories.*$|&Utility;|' -i \ $fs/usr/share/applications/florence.desktop }