wok-next view libunique/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents df20b2110f7e
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libunique"
4 VERSION="1.1.6"
5 CATEGORY="development"
6 SHORT_DESC="Library for writing single instance application"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://wiki.gnome.org/Attic/LibUnique"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libunique.html"
11 REPOLOGY="unique"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
16 BUILD_DEPENDS="patch automake glib-dev gettext libtool gtk2-dev \
17 xorg-libICE-dev gobject-introspection-dev gtk-doc"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 autoreconf -fi &&
22 ./configure \
23 --disable-dbus \
24 --disable-static \
25 --disable-debug \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libunique)
35 copy @std
36 DEPENDS="glib gtk2 xorg-libX11"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="libunique gtk2-dev"
41 ;;
42 esac
43 }