wok-next annotate libunique/receipt @ rev 20595

More fix libtool.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Apr 16 11:36:31 2018 +0300 (2018-04-16)
parents c4e53a39395a
children b1a1deb20f42
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"
erjo@4760 11
al@19693 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19693 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
al@19693 14
al@19693 15 BUILD_DEPENDS_arm="cairo-dev gtk+-dev glib-dev expat-dev"
al@19814 16 BUILD_DEPENDS="patch automake glib-dev gettext libtool gtk+-dev \
al@19814 17 xorg-libICE-dev gobject-introspection-dev gtk-doc"
al@19814 18 SPLIT="libunique-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@19814 36 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
al@19814 37 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
al@19814 38 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
al@19814 39 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
al@19814 40 xorg-pixman zlib"
al@19814 41 ;;
al@19814 42 *-dev)
al@19814 43 copy @dev
al@19814 44 DEPENDS="libunique atk-dev bzip2-dev cairo-dev fontconfig-dev \
al@19814 45 freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev \
al@19814 46 libffi-dev libpng16-dev libxml2-dev pango-dev pcre-dev \
al@19814 47 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
al@19814 48 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
al@19814 49 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
al@19814 50 ;;
al@19814 51 esac
erjo@4760 52 }