void-packages/srcpkgs/libICE/template
Leah Neukirchen fe8716ebdc libICE: fix cross-compilation
Fixes this configure check:
checking for xproto xtrans... yes
checking if Xtrans should support UNIX socket connections... yes
checking if Xtrans should support TCP socket connections... yes

Adopted.
2019-08-26 18:48:34 +02:00

33 lines
817 B
Bash

# Template file for 'libICE'
pkgname=libICE
version=1.0.10
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config xorg-util-macros xtrans"
makedepends="xtrans xorgproto"
short_desc="Inter Client Exchange (ICE) library for X"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=6f86dce12cf4bcaf5c37dddd8b1b64ed2ddf1ef7b218f22b9942595fb747c348
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense COPYING
}
libICE-devel_package() {
depends="xtrans xorgproto ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}