34 lines
991 B
Bash
34 lines
991 B
Bash
# Template file for 'prelink-cross'
|
|
pkgname=prelink-cross
|
|
version=20180128
|
|
revision=2
|
|
_githash=ca213abd9ebfd77a04e3a967bf9f7bc1ef832087
|
|
wrksrc="prelink-cross-${_githash}"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
makedepends="elfutils-devel binutils-devel"
|
|
case $XBPS_TARGET_MACHINE in
|
|
*-musl) makedepends+=" argp-standalone"; LDFLAGS+=" -largp" ;;
|
|
esac
|
|
short_desc="Prelink from the yocto project"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://git.yoctoproject.org/cgit.cgi/prelink-cross"
|
|
distfiles="https://github.com/Gottox/prelink-cross/archive/$_githash.tar.gz"
|
|
checksum=b6b0baf60e7e66f62ed8e7117973be24b2d24649490365e6a88e11be0dd2fab4
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
do_check() {
|
|
: # multiple test failures, can't find the binaries for the tests
|
|
}
|
|
|
|
post_install() {
|
|
# We don't want the tools that are on prelink
|
|
# just prelink-rltd
|
|
rm -f ${DESTDIR}/usr/bin/{execstack,prelink}
|
|
rm -rf ${DESTDIR}/usr/share/man
|
|
}
|