xcalib: pass LDFLAGS. Cleanup.
This commit is contained in:
parent
ff442d392b
commit
fd8c06e611
1 changed files with 14 additions and 10 deletions
|
@ -1,19 +1,23 @@
|
|||
# Template file for 'xcalib'
|
||||
pkgname=xcalib
|
||||
version=0.8
|
||||
revision=3
|
||||
distfiles="${SOURCEFORGE_SITE}/xcalib/xcalib-source-${version}.tar.gz"
|
||||
checksum="8a112ee710e5446f6c36e62345b2066f10639d500259db8c48bf1716caea06e6"
|
||||
revision=4
|
||||
build_style="gnu-makefile"
|
||||
makedepends="libX11-devel libXxf86vm-devel"
|
||||
short_desc="Tiny monitor calibration loader for X.org"
|
||||
maintainer="Steven R <dev@styez.com>"
|
||||
license="GPL-2"
|
||||
homepage="http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/"
|
||||
license="GPL"
|
||||
short_desc="A tiny monitor calibration loader for X.org"
|
||||
distfiles="${SOURCEFORGE_SITE}/xcalib/xcalib-source-${version}.tar.gz"
|
||||
checksum="8a112ee710e5446f6c36e62345b2066f10639d500259db8c48bf1716caea06e6"
|
||||
|
||||
post_extract() {
|
||||
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
|
||||
}
|
||||
do_install() {
|
||||
vinstall xcalib 755 usr/bin
|
||||
for file in README *.icc *.icm; do
|
||||
vbin xcalib
|
||||
vdoc README
|
||||
for file in *.icc *.icm; do
|
||||
vinstall "$file" 644 usr/share/xcalib
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue