2016-02-24 01:27:23 +01:00
|
|
|
# Description: File and directory monitoring system defined to be a subset of the File Alteration Monitor
|
|
|
|
# URL: http://www.gnome.org/~veillard/gamin
|
2016-04-15 00:23:30 +02:00
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
# Depends on: glib python
|
|
|
|
|
|
|
|
name=gamin
|
|
|
|
version=0.1.10
|
|
|
|
release=1
|
|
|
|
source=(http://www.gnome.org/~veillard/gamin/sources/$name-$version.tar.gz
|
2016-04-15 00:23:30 +02:00
|
|
|
remove_deprecated_G_CONST_RETURN.patch)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
patch -p0 < ../remove_deprecated_G_CONST_RETURN.patch
|
|
|
|
sed -i 's/G_CONST_RETURN/const/' server/gam_{node,subscription}.{c,h}
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--infodir=/usr/share/info \
|
|
|
|
--libexecdir=/usr/bin \
|
|
|
|
--disable-static
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|