summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-10-13 18:29:21 +0000
committerKoen Kooi <koen@openembedded.org>2007-10-13 18:29:21 +0000
commit3bb8f9a5da07ce63ae12b67ab57b695738e1363f (patch)
treedc667e01e18dc8ef557131636ca6ebac15265563 /packages
parentcf6acca80546b5b02fc17311d4071db02d9b3fb5 (diff)
gutenprint: fix packaging, it builds for me now
Diffstat (limited to 'packages')
-rw-r--r--packages/gutenprint/gutenprint_5.1.3.bb18
1 files changed, 16 insertions, 2 deletions
diff --git a/packages/gutenprint/gutenprint_5.1.3.bb b/packages/gutenprint/gutenprint_5.1.3.bb
index 7c75764273..8886323da5 100644
--- a/packages/gutenprint/gutenprint_5.1.3.bb
+++ b/packages/gutenprint/gutenprint_5.1.3.bb
@@ -1,8 +1,10 @@
require gutenprint.inc
-DEPENDS = "glib-2.0 cups tiff jpeg libpng gutenprint-native espgs"
+PR = "r1"
-SRC_URI = "http://easynews.dl.sourceforge.net/sourceforge/gimp-print/gutenprint-5.1.3.tar.bz2"
+DEPENDS = "glib-2.0 ijs ncurses cups tiff jpeg libpng gutenprint-native espgs"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/gimp-print/gutenprint-5.1.3.tar.bz2"
S = "${WORKDIR}/gutenprint-${PV}"
@@ -32,3 +34,15 @@ do_configure() {
}
+do_install_append() {
+ install -d ${D}${datadir}/cups/model/
+ install -m 644 ${STAGING_DIR}/${BUILD_SYS}/share/cups/model/* ${D}${datadir}/cups/model/
+ cp -pPr ${D}${STAGING_LIBDIR}/* ${D}${libdir}/
+ cp -pPr ${D}${STAGING_DATADIR}/* ${D}${datadir}/
+}
+
+
+FILES_${PN} += "${datadir}/cups/model ${libdir}/cups ${datadir}/cups/calibrate.ppm"
+FILES_${PN}-dbg += "${libdir}/cups/*/.debug"
+
+