void-packages/srcpkgs/fbset/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

24 lines
727 B
Bash

# Template file for 'fbset'
pkgname=fbset
version=2.1
revision=6
conf_files="/etc/fb.modes"
hostmakedepends="flex"
makedepends="libfl-devel"
short_desc="Framebuffer device maintenance program"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://users.telenet.be/geertu/Linux/fbdev/"
distfiles="${DEBIAN_SITE}/main/f/fbset/fbset_${version}.orig.tar.gz"
checksum=517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338
do_build() {
case "$XBPS_TARGET_MACHINE" in
*-musl) sed -e 's,__u32,uint32_t,g' -i fbset.h ;;
esac
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
}