New package: prelink-cross-20180128.
Co-authored-by: Enno Boland <gottox@voidlinux.org>
This commit is contained in:
parent
d21d243003
commit
c07f975e88
1 changed files with 29 additions and 0 deletions
29
srcpkgs/prelink-cross/template
Normal file
29
srcpkgs/prelink-cross/template
Normal file
|
@ -0,0 +1,29 @@
|
|||
# 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="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue