mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
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'
|
# Template file for 'jhead'
|
||||||
pkgname=jhead
|
pkgname=jhead
|
||||||
version=3.00
|
version=3.00
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Display and manipulate EXIF header of JPEG images"
|
short_desc="Display and manipulate EXIF header of JPEG images"
|
||||||
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
||||||
|
@ -10,8 +10,10 @@ homepage="http://www.sentex.net/~mwandel/jhead/"
|
||||||
distfiles="${homepage}/jhead-${version}.tar.gz"
|
distfiles="${homepage}/jhead-${version}.tar.gz"
|
||||||
checksum=88cc01da018e242fe2e05db73f91b6288106858dd70f27506c4989a575d2895e
|
checksum=88cc01da018e242fe2e05db73f91b6288106858dd70f27506c4989a575d2895e
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i -e 's,/local,,' -e '/CC.*-o/s/$/ $(LDFLAGS)/' makefile
|
||||||
|
}
|
||||||
pre_install() {
|
pre_install() {
|
||||||
mkdir -p ${DESTDIR}/usr/bin
|
mkdir -p ${DESTDIR}/usr/bin
|
||||||
sed -i 's,/local,,' makefile
|
|
||||||
vman jhead.1
|
vman jhead.1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue