diff text/libxml2/libxml2.sh @ 539:f3e036ac528e

text: use new FHS
author David Demelier <markand@malikania.fr>
date Wed, 10 Apr 2019 20:26:00 +0200
parents 72390c93b9d3
children bad483aace64
line wrap: on
line diff
--- a/text/libxml2/libxml2.sh	Wed Apr 10 20:24:00 2019 +0200
+++ b/text/libxml2/libxml2.sh	Wed Apr 10 20:26:00 2019 +0200
@@ -77,9 +77,9 @@
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-		--prefix=/usr \
-		--docdir=/usr/share/doc/$PKGNAME \
-		--with-html-dir=/usr/share/doc/$PKGNAME/html \
+		--prefix=/ \
+		--docdir=/share/doc/$PKGNAME \
+		--with-html-dir=/share/doc/$PKGNAME/html \
 		--with-html-subdir="" \
 		--disable-static \
 		--enable-shared \
@@ -91,9 +91,9 @@
 	make \
 		DESTDIR=$DESTDIR \
 		DOC_MODULE=$PKGNAME \
-		docsdir=/usr/share/doc/$PKGNAME/python \
+		docsdir=/share/doc/$PKGNAME/python \
 		install
-	rm -f $DESTDIR/usr/lib/libxml2.la
+	rm -f $DESTDIR/lib/libxml2.la
 
 	popd
 	rm -rf $PKGNAME-$PKGVERSION