wok-next annotate libunique/receipt @ rev 20883
Check Repology info from h* to l* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 11 02:06:34 2018 +0300 (2018-07-11) |
parents | b1a1deb20f42 |
children | f48456621a9d |
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" |
erjo@4760 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14718 | 8 LICENSE="LGPL2.1" |
al@19693 | 9 WEB_SITE="https://wiki.gnome.org/Attic/LibUnique" |
al@20595 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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@19693 | 16 BUILD_DEPENDS_arm="cairo-dev gtk+-dev glib-dev expat-dev" |
al@19814 | 17 BUILD_DEPENDS="patch automake glib-dev gettext libtool gtk+-dev \ |
al@19814 | 18 xorg-libICE-dev gobject-introspection-dev gtk-doc" |
al@19814 | 19 SPLIT="libunique-dev" |
pascal@14718 | 20 |
al@20595 | 21 compile_rules() { |
al@19693 | 22 autoreconf -fi && |
erjo@4760 | 23 ./configure \ |
pankso@16379 | 24 --disable-dbus \ |
al@19693 | 25 --disable-static \ |
al@19814 | 26 --disable-debug \ |
erjo@4760 | 27 $CONFIGURE_ARGS && |
al@20595 | 28 fix libtool && |
al@20595 | 29 make && |
al@20595 | 30 make install |
erjo@4760 | 31 } |
erjo@4760 | 32 |
al@20595 | 33 genpkg_rules() { |
al@19814 | 34 case $PACKAGE in |
al@19814 | 35 libunique) |
al@19814 | 36 copy @std |
al@20659 | 37 DEPENDS="glib gtk+ xorg-libX11" |
al@19814 | 38 ;; |
al@19814 | 39 *-dev) |
al@19814 | 40 copy @dev |
al@20659 | 41 DEPENDS="libunique gtk+-dev" |
al@19814 | 42 ;; |
al@19814 | 43 esac |
erjo@4760 | 44 } |