1 DESCRIPTION = "The Gallery v1 web image gallery"
4 RDEPENDS = "apache2 modphp imagemagick jhead"
7 SRC_URI = "http://{SOURCEFORGE_MIRROR}/sourceforge/gallery/gallery-${PV}-pl1.tar.gz"
9 S = "${WORKDIR}/gallery"
13 HTTPCONF = "${sysconfdir}/apache2/httpd.conf"
14 DEST_DIR = "${datadir}/apache2/htdocs/"
17 # don't list the albums as a file - it might get auto-deleted
19 FILES_${PN} = "${DEST_DIR}/gallery ${sysconfdir}/apache2/modules.d"
22 # No configure step for gallery
27 # No compile step either
34 mkdir -p ${D}/${DEST_DIR} ${D}${sysconfdir}/apache2/modules.d
35 cp -pPR ${S} ${D}/${DEST_DIR}
36 cp ${FILESDIR}/gallery.conf ${D}${sysconfdir}/apache2/modules.d/95_gallery.conf
39 # remove the gallery code, but not the albums!
41 rm -rf ${DEST_DIR}/gallery /${sysconfdir}/apache2/modules.d/95_gallery.conf