void-packages/srcpkgs/libICE/template
2019-07-21 10:12:55 +02:00

34 lines
828 B
Bash

# Template file for 'libICE'
pkgname=libICE
version=1.0.10
revision=1
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=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"
}
}