void-packages/srcpkgs/libICE/template

35 lines
827 B
Bash

# Template file for 'libICE'
pkgname=libICE
version=1.0.9
revision=3
patch_args="-Np1"
build_style=gnu-configure
hostmakedepends="pkg-config automake libtool xorg-util-macros"
makedepends="xtrans xorgproto"
short_desc="Inter Client Exchange (ICE) library for X"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202
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"
}
}