void-packages/srcpkgs/gnustep-make/template
Duncaen 8a5257d943 gnustep-make: detect TARGET_OS=linux-musl as linux target
It previously looked for the `gnu` part of TARGET_OS=linux-gnu
2019-04-27 01:44:09 +02:00

17 lines
697 B
Bash

# Template build file for 'gnustep-make'
pkgname=gnustep-make
version=2.7.0
revision=3
build_style=gnu-configure
conf_files="/etc/GNUstep/GNUstep.conf"
short_desc="GNU Step Makefile helpers for a GNUstep-based project"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="LGPL-3"
homepage="http://www.gnustep.org"
distfiles="http://ftp.gnustep.org/pub/gnustep/core/${pkgname}-${version}.tar.gz"
checksum=90a01cbfb68aafe01c4cc4123121ebd2da0e1e2076795b5682f0833fddf311ce
post_install() {
sed -i 's,/builddir/.xbps-gnustep-make/wrappers,/usr/bin,g' ${DESTDIR}/usr/share/GNUstep/Makefiles/config.make
sed -i 's,-specs=/void-packages/[^ ]* ,,g' ${DESTDIR}/usr/share/GNUstep/Makefiles/config.make
}