jhead: use LDFLAGS.
This commit is contained in:
parent
96e883e44b
commit
3f034de8af
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'jhead'
|
||||
pkgname=jhead
|
||||
version=3.00
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
short_desc="Display and manipulate EXIF header of JPEG images"
|
||||
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
||||
|
@ -10,8 +10,10 @@ homepage="http://www.sentex.net/~mwandel/jhead/"
|
|||
distfiles="${homepage}/jhead-${version}.tar.gz"
|
||||
checksum=88cc01da018e242fe2e05db73f91b6288106858dd70f27506c4989a575d2895e
|
||||
|
||||
post_extract() {
|
||||
sed -i -e 's,/local,,' -e '/CC.*-o/s/$/ $(LDFLAGS)/' makefile
|
||||
}
|
||||
pre_install() {
|
||||
mkdir -p ${DESTDIR}/usr/bin
|
||||
sed -i 's,/local,,' makefile
|
||||
vman jhead.1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue