- Switch to configure - Respect configure_args - Remove redundant --prefix=/usr - Remove wrong --bindir=/usr/sbin
26 lines
698 B
Bash
26 lines
698 B
Bash
# Template file for 'fbv'
|
|
pkgname=fbv
|
|
version=1.0b
|
|
revision=1
|
|
build_style=configure
|
|
makedepends="libpng-devel libjpeg-turbo-devel giflib-devel"
|
|
short_desc="Framebuffer image viewer"
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://www.eclis.ch/fbv/"
|
|
distfiles="http://s-tech.elsat.net.pl/fbv/fbv-${version}.tar.gz"
|
|
checksum=9b55b9dafd5eb01562060d860e267e309a1876e8ba5ce4d3303484b94129ab3c
|
|
|
|
do_configure() {
|
|
sed -i '/^CFLAGS/d' Makefile
|
|
if [ "$CROSS_BUILD" ]; then
|
|
sed -i "s/^CC.*/CC=${XBPS_CROSS_TRIPLET}-gcc/" Makefile
|
|
sed -i "s/^cc/${XBPS_CROSS_TRIPLET}-gcc/" configure
|
|
fi
|
|
./configure ${configure_args} --libs="-lgif"
|
|
}
|
|
|
|
do_install() {
|
|
vbin fbv
|
|
vman fbv.1
|
|
}
|