summaryrefslogtreecommitdiffstats
path: root/extra/efax-gtk/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/efax-gtk/Pkgfile')
-rwxr-xr-xextra/efax-gtk/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/efax-gtk/Pkgfile b/extra/efax-gtk/Pkgfile
new file mode 100755
index 000000000..7aaadc288
--- /dev/null
+++ b/extra/efax-gtk/Pkgfile
@@ -0,0 +1,28 @@
+# Description: gestionnaire de fax
+# URL: http://efax-gtk.sourceforge.net/
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+# Depends on: ghostscript, libsigc++i, gv
+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
+}