summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-21 17:44:38 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-21 17:44:38 +0200
commitf7d96a1879550bab4513096baf4aa7a1ea726abb (patch)
tree7266c55c1454ab76da1d823d51b1ab1e79106dbf /extra
parent4c0b96f29ba87b2b54fc20aebffccf942d6ccc09 (diff)
downloadnutyx-extra-f7d96a1879550bab4513096baf4aa7a1ea726abb.tar.gz
nutyx-extra-f7d96a1879550bab4513096baf4aa7a1ea726abb.tar.bz2
nutyx-extra-f7d96a1879550bab4513096baf4aa7a1ea726abb.tar.xz
nutyx-extra-f7d96a1879550bab4513096baf4aa7a1ea726abb.zip
cups, maj deps
Diffstat (limited to 'extra')
-rwxr-xr-xextra/cups/Pkgfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/cups/Pkgfile b/extra/cups/Pkgfile
index 88316053c..7803aa445 100755
--- a/extra/cups/Pkgfile
+++ b/extra/cups/Pkgfile
@@ -2,7 +2,7 @@
# URL: http://www.cups.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: libjpeg, libpng, libtiff, poppler
+# Depends on: libjpeg, libpng, libtiff, poppler, xdg-utils, dbus, hicolor-icon-theme, avahi
name=cups
version=1.3.11
@@ -34,8 +34,9 @@ build() {
# Startup Script
cd ../$scripts-$scriptsversion
make DESTDIR=$PKG install-$name
+ sed -i 's|^Exec=htmlview http://localhost:631/|Exec=xdg-open http://localhost:631/|g' \
+ $PKG/usr/share/applications/cups.desktop
install -m754 ../cups $PKG/etc/rc.d/init.d/
- sed -i "s/htmlview/firefox/" $PKG/usr/share/applications/cups.desktop
chmod 755 $PKG/var/spool
chmod 755 $PKG/etc
}