wok-next view libunique/receipt @ rev 16467

R-Pi: add gst-omx, libbcm2835, picamera, rcswitch-pi
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 22 02:07:08 2014 +0200 (2014-04-22)
parents 6f0f8b6fe487
children 4048d48a47c1
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://live.gnome.org/LibUnique"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="cairo gtk+"
15 BUILD_DEPENDS="cairo-dev gtk+-dev glib-dev expat-dev"
17 case "$ARCH" in
18 i?86)
19 BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev perl"
20 export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable"
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch || return 1
27 ./configure \
28 --disable-dbus \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }