void-packages/srcpkgs/gnustep-base/template

31 lines
1004 B
Bash
Raw Normal View History

# Template file for 'gnustep-base'
pkgname=gnustep-base
version=1.25.1
revision=1
build_style=gnu-configure
hostmakedepends="gnustep-make gcc-objc"
makedepends="libobjc-devel libffi-devel libxml2-devel gnutls-devel
libxslt-devel icu-devel"
short_desc="Library of general-purpose Objective C objects for GNUstep"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3"
homepage="https://www.gnustep.org/"
distfiles="http://ftp.gnustep.org/pub/gnustep/core/gnustep-base-${version}.tar.gz"
checksum=f28beb9ca485674bcce3053896ad90a31b109fb97c5a041827c72f241e8db69e
nocross="objc doesn't get cross build at present within gcc"
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args="${configure_args} --disable-iconv";
broken="musl patching for this is beyond the author at this time";;
*) ;;
esac
gnustep-base-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/*.so
vmove usr/include
}
}