summaryrefslogtreecommitdiffstats
path: root/extra/gamin/Pkgfile
blob: 116bb524f7ad2013924a77de107209b99815198b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Description: Surveillance de modification de fichiers
# URL:  http://www.gnome.org/~veillard/gamin
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: python, glib
# Run on:

name=gamin
version=0.1.10
release=1
source=( http://www.gnome.org/~veillard/gamin/sources/$name-$version.tar.gz\
	gamin-0.1.9-ucred-headers.patch)

build() {
	cd $name-$version

#	patch -Np1 -i ../gamin-0.1.9-ucred-headers.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
}