mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
thttpd: unbreak
Place cgi-bin executables in /usr/libexec instead of /usr/share.
This commit is contained in:
parent
8b874b886c
commit
960c7b2b69
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'thttpd'
|
||||
pkgname=thttpd
|
||||
version=2.29
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
short_desc="Tiny/turbo/throttling HTTP server"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
|
@ -9,10 +9,9 @@ license="BSD-2-Clause"
|
|||
homepage="http://www.acme.com/software/thttpd/"
|
||||
distfiles="http://www.acme.com/software/thttpd/thttpd-${version}.tar.gz"
|
||||
checksum=99c09f47da326b1e7b5295c45549d2b65534dce27c44812cf7eef1441681a397
|
||||
broken="ELF in /usr/share"
|
||||
|
||||
pre_configure() {
|
||||
sed "s,-o bin -g bin,,g" -i Makefile.in
|
||||
vsed -i Makefile.in -e "s,-o bin -g bin,,g"
|
||||
}
|
||||
|
||||
do_build() {
|
||||
|
@ -25,7 +24,7 @@ do_install() {
|
|||
vmkdir usr/share/man/man8
|
||||
|
||||
make WEBGROUP=$(whoami) \
|
||||
WEBDIR=${DESTDIR}/usr/share/thttpd \
|
||||
WEBDIR=${DESTDIR}/usr/libexec/thttpd \
|
||||
BINDIR=${DESTDIR}/usr/bin \
|
||||
MANDIR=${DESTDIR}/usr/share/man install
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue