1 DESCRIPTION
= "The Gallery v1 web image gallery"
4 RDEPENDS_$
{PN
} = "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
44 SRC_URI
[md5sum
] = "d2f52d92776f47bf353787237607f23c"
45 SRC_URI
[sha256sum
] = "9f17181cd8bf46203a288e3fc1d9bd82d5dc011fe419d33bee2f62bace081f08"