
Receipt for package "libunique"
# SliTaz package receipt. PACKAGE="libunique" VERSION="1.1.6" CATEGORY="development" SHORT_DESC="Library for writing single instance application." MAINTAINER="erjo@slitaz.org" LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://wiki.gnome.org/Attic/LibUnique" WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" HOST_ARCH="i486 arm x86_64" DEPENDS="cairo gtk+" BUILD_DEPENDS="cairo-dev gtk+-dev glib-dev expat-dev" case "$ARCH" in i?86|x86_64) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev perl" export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable" esac current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch || return 1 patch -Np1 < $stuff/libunique-1.1.6-upstream_fixes-1.patch # Deal with old feature sed -i '/DG_DISABLE_DEPRECATED/d' unique/Makefile.in # Disable warnings as error, old app export CFLAGS="$CFLAGS -Wno-error" ./configure \ --disable-werror \ --disable-dbus \ $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 }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)