diff graphics/graphviz/graphviz.sh @ 523:b1690d766bdb

graphics: use new FHS
author David Demelier <markand@malikania.fr>
date Tue, 09 Apr 2019 20:04:48 +0200
parents 7828241c9634
children bad483aace64
line wrap: on
line diff
--- a/graphics/graphviz/graphviz.sh	Tue Apr 09 19:50:31 2019 +0200
+++ b/graphics/graphviz/graphviz.sh	Tue Apr 09 20:04:48 2019 +0200
@@ -117,7 +117,7 @@
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-		--prefix=/usr \
+		--prefix=/ \
 		--disable-ltdl-install \
 		--without-included-ltdl \
 		--without-qt \
@@ -153,15 +153,15 @@
 		$with_xml
 	make
 	make install DESTDIR=$DESTDIR
-	rm -f $DESTDIR/usr/lib/graphviz/*.la
-	rm -f $DESTDIR/usr/lib/graphviz/perl/*.la
-	rm -f $DESTDIR/usr/lib/libcdt.la
-	rm -f $DESTDIR/usr/lib/libcgraph.la
-	rm -f $DESTDIR/usr/lib/libgvc.la
-	rm -f $DESTDIR/usr/lib/libgvpr.la
-	rm -f $DESTDIR/usr/lib/liblab_gamut.la
-	rm -f $DESTDIR/usr/lib/libpathplan.la
-	rm -f $DESTDIR/usr/lib/libxdot.la
+	rm -f $DESTDIR/lib/graphviz/*.la
+	rm -f $DESTDIR/lib/graphviz/perl/*.la
+	rm -f $DESTDIR/lib/libcdt.la
+	rm -f $DESTDIR/lib/libcgraph.la
+	rm -f $DESTDIR/lib/libgvc.la
+	rm -f $DESTDIR/lib/libgvpr.la
+	rm -f $DESTDIR/lib/liblab_gamut.la
+	rm -f $DESTDIR/lib/libpathplan.la
+	rm -f $DESTDIR/lib/libxdot.la
 
 	popd
 	rm -rf $PKGNAME-$PKGVERSION