void-packages/srcpkgs/libXaw3d/template

31 lines
1.0 KiB
Bash

# Template file for 'libXaw3d'
pkgname=libXaw3d
version=1.6.2
revision=1
build_style=gnu-configure
license="MIT/X11"
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
hostmakedepends="libtool automake pkg-config bison"
makedepends="libX11-devel libXt-devel libXmu-devel libXpm-devel libXext-devel xorg-util-macros"
configure_args="--disable-static --enable-internationalization --enable-multiplane-bitmaps
--enable-gray-stipples --enable-arrow-scrollbars --with-pic --with-gnu-ld"
short_desc="X Athena Widget 3d library"
homepage="http://cgit.freedesktop.org/xorg/lib/libXaw3d/"
distfiles="http://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${version}.tar.bz2"
checksum="b74f11681061c1492c03cbbe6e318f9635b3877af0761fc0e67e1467c3a6972b"
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
libXaw3d-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}