summaryrefslogtreecommitdiffstats
path: root/test/efax-gtk/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-06-24 18:17:45 +0200
committersibel <lesibel at free dot fr>2010-06-24 18:17:45 +0200
commit10066e1ad77569f7ab936776b67c3dbbfd8ff96e (patch)
tree95c85c329cdf712f87ebf7fe25482da4401715be /test/efax-gtk/Pkgfile
parent816b3b8eb3c9c90ba83680472ae4364c33d015ba (diff)
downloadnutyx-extra-10066e1ad77569f7ab936776b67c3dbbfd8ff96e.tar.gz
nutyx-extra-10066e1ad77569f7ab936776b67c3dbbfd8ff96e.tar.bz2
nutyx-extra-10066e1ad77569f7ab936776b67c3dbbfd8ff96e.tar.xz
nutyx-extra-10066e1ad77569f7ab936776b67c3dbbfd8ff96e.zip
efax-gtk, déplacé dans test
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
+}