void-packages/srcpkgs/gnustep-base/template
2019-04-27 01:44:09 +02:00

29 lines
998 B
Bash

# Template file for 'gnustep-base'
pkgname=gnustep-base
version=1.26.0
revision=5
build_style=gnu-configure
hostmakedepends="gnustep-make gcc-objc pkg-config"
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-2.0-or-later, GPL-3.0-or-later"
homepage="http://www.gnustep.org/"
distfiles="http://ftp.gnustep.org/pub/gnustep/core/gnustep-base-${version}.tar.gz"
checksum=f68bc066c60c73cfc1582326866d0a59be791df56d752dfdc51b838e79364173
nocross="objc doesn't get cross build at present within gcc"
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args="${configure_args} --disable-iconv"; ;;
*) ;;
esac
gnustep-base-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision} gnustep-make gcc-objc"
pkg_install() {
vmove usr/lib/*.so
vmove usr/include
}
}