wok-current view libunique/receipt @ rev 22859
updated gnaughty (1.2.4 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 20 14:50:56 2020 +0100 (2020-02-20) |
parents | e1ee172acb7b |
children | 5d79829fa876 |
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="https://wiki.gnome.org/Attic/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 }