SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libunique-gtk3"

# 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
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)