void-packages/srcpkgs/libICE/template

34 lines
815 B
Bash

# Template file for 'libICE'
pkgname=libICE
version=1.1.1
revision=1
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.xz"
checksum=03e77afaf72942c7ac02ccebb19034e6e20f456dcf8dddadfeb572aa5ad3e451
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"
}
}