abcm2ps: cleanup
This commit is contained in:
parent
6a588f1c9f
commit
711d5b4370
|
@ -1,17 +0,0 @@
|
||||||
--- Makefile.in.bck 2016-03-27 02:52:28.209509627 -0400
|
|
||||||
+++ Makefile.in 2016-03-27 02:54:28.288878752 -0400
|
|
||||||
@@ -17,10 +17,10 @@
|
|
||||||
|
|
||||||
srcdir = @srcdir@
|
|
||||||
VPATH = @srcdir@
|
|
||||||
-bindir = @bindir@
|
|
||||||
-libdir = @libdir@
|
|
||||||
-datadir = @datarootdir@
|
|
||||||
-docdir = @docdir@
|
|
||||||
+bindir = $(DESTDIR)@bindir@
|
|
||||||
+libdir = $(DESTDIR)@libdir@
|
|
||||||
+datadir = $(DESTDIR)@datarootdir@
|
|
||||||
+docdir = $(DESTDIR)@docdir@
|
|
||||||
|
|
||||||
# unix
|
|
||||||
OBJECTS=abcm2ps.o \
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'abcm2ps'
|
# Template file for 'abcm2ps'
|
||||||
pkgname=abcm2ps
|
pkgname=abcm2ps
|
||||||
version=8.12.9
|
version=8.12.9
|
||||||
revision=2
|
revision=3
|
||||||
build_style=configure
|
build_style=configure
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="pango-devel"
|
makedepends="pango-devel"
|
||||||
|
@ -13,11 +13,8 @@ distfiles="${homepage}/abcm2ps-${version}.tar.gz"
|
||||||
checksum=72b8f40964234edf2043bdc83527c37989bbb5fb3b4c108c2ef3cd1883399af4
|
checksum=72b8f40964234edf2043bdc83527c37989bbb5fb3b4c108c2ef3cd1883399af4
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i configure \
|
echo CC=${CC} >> custom
|
||||||
-e 's/CFLAGS=.*/CFLAGS=\"${CFLAGS}\"/' \
|
echo CFLAGS+=\" $CFLAGS\" >> custom
|
||||||
-e 's:prefix=/usr/local:prefix=/usr:' \
|
echo prefix=/usr >> custom
|
||||||
-e 's/CC=.*/CC=${CC}/'
|
echo 'docdir=${prefix}/share/doc' >> custom
|
||||||
|
|
||||||
sed -i Makefile.in \
|
|
||||||
-e 's/ = $(DESTDIR)/ = /'
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue