diff options
Diffstat (limited to 'gamin/Pkgfile')
-rwxr-xr-x | gamin/Pkgfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gamin/Pkgfile b/gamin/Pkgfile new file mode 100755 index 0000000..a8f000d --- /dev/null +++ b/gamin/Pkgfile @@ -0,0 +1,26 @@ +# Description: Surveillance de modification de fichiers +# URL: http://www.gnome.org/~veillard/gamin +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch + +name=gamin +version=0.1.10 +release=2 +source=(http://www.gnome.org/~veillard/gamin/sources/$name-$version.tar.gz + remove_deprecated_G_CONST_RETURN.patch) + +build() { + cd $name-$version + patch -p0 < ../remove_deprecated_G_CONST_RETURN.patch + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' python/gamin.py + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libexecdir=/usr/bin \ + --with-python=/usr/bin/python2 + + make + make DESTDIR=$PKG install +} + |