void-packages/srcpkgs/libXaw/template

31 lines
788 B
Bash

# Template build file for 'libXaw'.
pkgname=libXaw
version=1.0.13
revision=1
build_style=gnu-configure
configure_args="--without-xmlto"
hostmakedepends="pkg-config"
makedepends="libXext-devel libXt-devel libXmu-devel libXpm-devel"
short_desc="X Athena Widgets Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xorg.freedesktop.org"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=8ef8067312571292ccc2bbe94c41109dcf022ea5a4ec71656a83d8cce9edb0cd
post_install() {
vlicense COPYING
}
libXaw-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}