wok-next view libunique/receipt @ rev 20064
Up libmatchbox (1.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 24 11:36:27 2017 +0200 (2017-10-24) |
parents | f463de72afe3 |
children | c4e53a39395a |
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 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS_arm="cairo-dev gtk+-dev glib-dev expat-dev"
16 BUILD_DEPENDS="patch automake glib-dev gettext libtool gtk+-dev \
17 xorg-libICE-dev gobject-introspection-dev gtk-doc"
18 SPLIT="libunique-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # http://www.linuxfromscratch.org/blfs/view/stable/general/libunique.html
24 autoreconf -fi &&
25 ./configure \
26 --disable-dbus \
27 --disable-static \
28 --disable-debug \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 case $PACKAGE in
37 libunique)
38 copy @std
39 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
40 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
41 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
42 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
43 xorg-pixman zlib"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="libunique atk-dev bzip2-dev cairo-dev fontconfig-dev \
48 freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev \
49 libffi-dev libpng16-dev libxml2-dev pango-dev pcre-dev \
50 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
51 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
52 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
53 ;;
54 esac
55 }