wok-next annotate libunique/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
rev   line source
al@19814 1 # SliTaz package receipt v2.
erjo@4760 2
erjo@4760 3 PACKAGE="libunique"
slaxemulator@6288 4 VERSION="1.1.6"
erjo@4760 5 CATEGORY="development"
al@19693 6 SHORT_DESC="Library for writing single instance application"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14718 8 LICENSE="LGPL2.1"
al@19693 9 WEB_SITE="https://wiki.gnome.org/Attic/LibUnique"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libunique.html"
al@20883 11 REPOLOGY="unique"
erjo@4760 12
al@19693 13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19693 14 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
al@19693 15
al@21020 16 BUILD_DEPENDS="patch automake glib-dev gettext-dev libtool gtk2-dev \
al@21078 17 libice-dev gobject-introspection-dev gtk-doc"
al@21017 18 SPLIT="$PACKAGE-dev"
pascal@14718 19
al@20595 20 compile_rules() {
al@19693 21 autoreconf -fi &&
erjo@4760 22 ./configure \
pankso@16379 23 --disable-dbus \
al@19693 24 --disable-static \
al@19814 25 --disable-debug \
erjo@4760 26 $CONFIGURE_ARGS &&
al@20595 27 fix libtool &&
al@20595 28 make &&
al@20595 29 make install
erjo@4760 30 }
erjo@4760 31
al@20595 32 genpkg_rules() {
al@19814 33 case $PACKAGE in
al@19814 34 libunique)
al@19814 35 copy @std
al@21078 36 DEPENDS="glib gtk2 libx11"
al@19814 37 ;;
al@19814 38 *-dev)
al@19814 39 copy @dev
al@21017 40 DEPENDS="libunique gtk2-dev"
al@19814 41 ;;
al@19814 42 esac
erjo@4760 43 }