wok-6.x view libunique/receipt @ rev 19371

ppp: remove pppnc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 09 11:46:12 2016 +0200 (2016-08-09)
parents 6f0f8b6fe487
children eeba7ab1dffe
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 }