# SliTaz package receipt. PACKAGE="libunique-gtk3" VERSION="3.0.2" CATEGORY="development" SHORT_DESC="Create single instance applications" MAINTAINER="erjo@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="https://wiki.gnome.org/Attic/LibUnique" SOURCE="libunique" TARBALL="$SOURCE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL" TAGS="gtk3" DEPENDS="dbus-glib gtk+3" BUILD_DEPENDS="glib-dev gtk+3-dev dbus-glib-dev gobject-introspection-dev \ libxml2-dev" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ --disable-static \ --enable-debug=no \ --disable-gtk-doc \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }