summaryrefslogtreecommitdiffstats
path: root/extra/efax-gtk/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 21:15:40 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 21:15:40 +0200
commitacb6402db42e45a658add52527e16ebd5cef4005 (patch)
tree82ee35483a741444c23321439b4110315a1334ad /extra/efax-gtk/Pkgfile
parent1bf1c439d4420d54425781ef2b54608d6f868da7 (diff)
downloadnutyx-pakxe-acb6402db42e45a658add52527e16ebd5cef4005.tar.gz
nutyx-pakxe-acb6402db42e45a658add52527e16ebd5cef4005.tar.bz2
nutyx-pakxe-acb6402db42e45a658add52527e16ebd5cef4005.tar.xz
nutyx-pakxe-acb6402db42e45a658add52527e16ebd5cef4005.zip
Ajout de efax-gtk#3.0.18-2
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
+}