wok-6.x view libunique/receipt @ rev 19657
Up tazpkg (938)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 27 12:28:54 2017 +0200 (2017-01-27) |
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 }