httpry: fix pie and symlink
This commit is contained in:
parent
a3ae8479d5
commit
a692dd5657
|
@ -11,7 +11,11 @@ license="GPL-2"
|
|||
distfiles="https://github.com/jbittel/${pkgname}/archive/${pkgname}-${version}.tar.gz"
|
||||
checksum=b3bcbec3fc6b72342022e940de184729d9cdecb30aa754a2c994073447468cf0
|
||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||
nopie=yes
|
||||
|
||||
post_extract() {
|
||||
sed -i -e'/^CC /d' \
|
||||
-e 's/^CCFLAGS .*/CCFLAGS=$(CFLAGS) $(LDFLAGS)/' Makefile
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/share/doc/${pkgname}
|
||||
|
@ -21,6 +25,6 @@ do_install() {
|
|||
vcopy "doc/*" usr/share/doc/${pkgname}
|
||||
vcopy "scripts/plugins" usr/lib/${pkgname}
|
||||
vcopy "scripts/parse_log.pl" usr/lib/${pkgname}
|
||||
ln -s ../share/doc/${pkgname}/perl-tools \
|
||||
ln -s ../../share/doc/${pkgname}/perl-tools \
|
||||
${PKGDESTDIR}/usr/lib/${pkgname}/perl-tools
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue