void-packages/srcpkgs/libieee1284/template

29 lines
770 B
Bash

# Template file for 'libieee1284'
pkgname=libieee1284
version=0.2.11
revision=2
build_style=gnu-configure
configure_args="--disable-static --without-python"
short_desc="A library to query devices connected in parallel port"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://cyberelk.net/tim/libieee1284"
license="GPL-2"
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.bz2"
checksum=7730de107782e5d2b071bdcb5b06a44da74856f00ef4a9be85d1ba4806a38f1a
post_extract() {
case "$XBPS_TARGET_MACHINE" in
*-musl) export CFLAGS+=" -Doutb_p=outb";;
esac
}
libieee1284-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove "usr/lib/*.so"
}
}