wok-next view libunique/receipt @ rev 21143
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 25 15:37:19 2019 +0200 (2019-01-25) |
parents | d5aab818505e |
children |
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="devel@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-dev libtool gtk2-dev \
17 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 libx11"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="libunique gtk2-dev"
41 ;;
42 esac
43 }