summaryrefslogtreecommitdiffstats
path: root/test/efax-gtk/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/efax-gtk/Pkgfile')
-rwxr-xr-xtest/efax-gtk/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/efax-gtk/Pkgfile b/test/efax-gtk/Pkgfile
new file mode 100755
index 000000000..254e524c4
--- /dev/null
+++ b/test/efax-gtk/Pkgfile
@@ -0,0 +1,29 @@
+# Description: gestionnaire de fax
+# URL: http://efax-gtk.sourceforge.net/
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+# Depends on: ghostscript, libsigc++, gv, gtk
+
+name=efax-gtk
+version=3.0.18
+release=2
+source=(http://freefr.dl.sourceforge.net/$name/$name-$version.src.tgz \
+ $name.png efax-desktop.patch 95.ttyS0.rules)
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../efax-desktop.patch
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-spooldir=/var/spool/fax
+ make
+ make DESTDIR=$PKG install
+ mkdir -p $PKG/usr/share/applications
+ install -m 644 $name.desktop $PKG/usr/share/applications/$name.desktop
+ mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps/
+ install -m 644 ../$name.png $PKG/usr/share/icons/hicolor/48x48/apps/$name.png
+ mkdir -p $PKG/etc/udev/rules.d/
+ install -m 644 ../95.ttyS0.rules $PKG/etc/udev/rules.d/95.ttyS0.rules
+ mkdir -p $PKG/var/lock/efax
+ chmod 777 -R $PKG/var/lock/efax
+}