blob: 090c7270a8168ca4685ccb729edcc7de95c13f0e (
plain)
1 # Description: Unique is a library for writing single instance application
2 # URL: https://wiki.gnome.org/Attic/LibUnique
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: gtk xorg-libxdamage
5
6 name=libunique
7 version=1.1.6
8 release=6
9 source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2 \
10 $name-$version-G_CONST_RETURN.patch \
11 $name-$version-compiler-warnings.patch \
12 $name-$version-fix-test.patch \
13 $name-$version-include-terminator.patch)
14
15 build() {
16 cd $name-$version
17
18 # patches from Gentto
19 patch -p1 -i $SRC/$name-$version-include-terminator.patch
20 patch -p1 -i $SRC/$name-$version-fix-test.patch
21 patch -p1 -i $SRC/$name-$version-compiler-warnings.patch
22 patch -p1 -i $SRC/$name-$version-G_CONST_RETURN.patch
23
24 ./configure \
25 --prefix=/usr \
26 --disable-dbus \
27 --disable-debug \
28 --disable-gtk-doc \
29 --with-x
30
31 make CFLAGS+=" -Wno-error -Wno-deprecated-declarations"
32 make DESTDIR=$PKG install
33
34 rm -r $PKG/usr/share/gtk-doc
35 }
|