d78cb0d201
some packages were dropped but their maintainer= was not updated in template. this will help new maintainers adopt these packages. -> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
29 lines
908 B
Bash
29 lines
908 B
Bash
# Template file for 'prelink-cross'
|
|
pkgname=prelink-cross
|
|
version=20180128
|
|
revision=1
|
|
_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
|
|
}
|
|
|
|
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
|
|
}
|