mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +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'
|
# Template file for 'thttpd'
|
||||||
pkgname=thttpd
|
pkgname=thttpd
|
||||||
version=2.29
|
version=2.29
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="Tiny/turbo/throttling HTTP server"
|
short_desc="Tiny/turbo/throttling HTTP server"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
@ -9,10 +9,9 @@ license="BSD-2-Clause"
|
||||||
homepage="http://www.acme.com/software/thttpd/"
|
homepage="http://www.acme.com/software/thttpd/"
|
||||||
distfiles="http://www.acme.com/software/thttpd/thttpd-${version}.tar.gz"
|
distfiles="http://www.acme.com/software/thttpd/thttpd-${version}.tar.gz"
|
||||||
checksum=99c09f47da326b1e7b5295c45549d2b65534dce27c44812cf7eef1441681a397
|
checksum=99c09f47da326b1e7b5295c45549d2b65534dce27c44812cf7eef1441681a397
|
||||||
broken="ELF in /usr/share"
|
|
||||||
|
|
||||||
pre_configure() {
|
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() {
|
do_build() {
|
||||||
|
@ -25,7 +24,7 @@ do_install() {
|
||||||
vmkdir usr/share/man/man8
|
vmkdir usr/share/man/man8
|
||||||
|
|
||||||
make WEBGROUP=$(whoami) \
|
make WEBGROUP=$(whoami) \
|
||||||
WEBDIR=${DESTDIR}/usr/share/thttpd \
|
WEBDIR=${DESTDIR}/usr/libexec/thttpd \
|
||||||
BINDIR=${DESTDIR}/usr/bin \
|
BINDIR=${DESTDIR}/usr/bin \
|
||||||
MANDIR=${DESTDIR}/usr/share/man install
|
MANDIR=${DESTDIR}/usr/share/man install
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue