void-packages/srcpkgs/fbset/template

31 lines
722 B
Plaintext

# Template file for 'fbset'
pkgname=fbset
version=2.1
revision=1
patch_args="-Np1"
short_desc="Framebuffer device maintenance program"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://users.telenet.be/geertu/Linux/fbdev/"
distfiles="http://ftp.de.debian.org/debian/pool/main/f/fbset/fbset_${version}.orig.tar.gz"
checksum=517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338
hostmakedepends="flex"
makedepends="libfl-devel"
do_build() {
sed -e 's,$(DESTDIR)/bin,$(DESTDIR)/usr/bin,g' -i Makefile
make CC=$CC CFLAGS="$CFLAGS" ${makejobs}
}
do_install() {
make DESTDIR=$DESTDIR PREFIX=/usr install
}
fbset_package() {
conf_files="/etc/fb.modes"
pkg_install() {
vmove all
}
}