33 lines
792 B
Plaintext
33 lines
792 B
Plaintext
# Description: Unique is a library for writing single instance application
|
|
# URL: http://live.gnome.org/LibUnique
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
# Packager: Jose V Beneyto, sepen at crux dot nu
|
|
# Depends on: gtk
|
|
|
|
name=libunique
|
|
version=1.1.6
|
|
release=3
|
|
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2 \
|
|
$name.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p1 -i $SRC/$name.patch
|
|
|
|
# fix for automake >= 1.13
|
|
sed -i configure.ac \
|
|
-e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
|
|
-e 's/AM_PROG_CC_STDC/AC_PROG_CC/'
|
|
|
|
autoreconf
|
|
|
|
./configure --prefix=/usr \
|
|
--disable-dbus \
|
|
--disable-static \
|
|
--with-x
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/share/gtk-doc
|
|
}
|