wok-next view libunique/receipt @ rev 19866
Up eudev, rust-musl, slitaz-next, b43-fwcutter, cookutils, dbus, dmidecode, eudev, firmware, libidl, make-slitaz-icons, mirror-tools, tazdev, tazwikiss, yaff; add laptop-detect
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 19 02:54:15 2017 +0300 (2017-09-19) |
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 }