2016-02-18 16:24:00 +00:00
|
|
|
# Template file for 'read-edid'
|
|
|
|
pkgname=read-edid
|
|
|
|
version=3.0.2
|
2016-03-11 18:20:54 +00:00
|
|
|
revision=2
|
2016-02-18 16:24:00 +00:00
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="cmake"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*|x86_64*) makedepends="libx86-devel";;
|
|
|
|
*) configure_args="-DCLASSICBUILD=NO";;
|
|
|
|
esac
|
|
|
|
short_desc="Hardware information-gathering tool for VESA PnP monitors"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="read-edid"
|
|
|
|
homepage="http://www.polypux.org/projects/read-edid/"
|
|
|
|
distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
|
|
|
|
|
|
|
|
pre_install() {
|
|
|
|
sed -i 's/COPYING//' CMakeLists.txt
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
rm -rf ${DESTDIR}/usr/share/doc
|
|
|
|
}
|