wok-next view libunique/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c4e53a39395a |
children | b1a1deb20f42 |
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libunique.html"
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 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="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
37 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
38 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
39 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
40 xorg-pixman zlib"
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="libunique atk-dev bzip2-dev cairo-dev fontconfig-dev \
45 freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev \
46 libffi-dev libpng16-dev libxml2-dev pango-dev pcre-dev \
47 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
48 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
49 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
50 ;;
51 esac
52 }