31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
# Template file for 'gnustep-base'
|
|
pkgname=gnustep-base
|
|
version=1.29.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="gnustep-make gcc-objc pkg-config which"
|
|
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="https://github.com/gnustep/libs-base/releases/download/base-${version//./_}/gnustep-base-${version}.tar.gz"
|
|
checksum=fa58eda665c3e0b9c420dc32bb3d51247a407c944d82e5eed1afe8a2b943ef37
|
|
make_check=extended
|
|
|
|
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
|
|
}
|
|
}
|