xfsprogs: fix build on i686, add to common/shlibs

This commit is contained in:
Christian Neukirchen 2014-09-08 16:43:08 +02:00
parent 0fa2793e5a
commit f49ac12207
2 changed files with 4 additions and 2 deletions

View file

@ -1734,3 +1734,4 @@ libjava.so openjdk-jre-8u20_1
libjli.so openjdk-jre-8u20_1
libjvm.so openjdk-jre-8u20_1
libucl.so.0 libucl-0.5.2_1
libhandle.so.1 xfsprogs-3.2.1_1

View file

@ -13,6 +13,7 @@ license="LGPL-2.1"
homepage="http://oss.sgi.com/projects/xfs/"
distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-${version}.tar.gz"
checksum=83f8ea4c38fe9f42b9f12cd523519287a9695f2cf4f3064e9e9a839f71185767
lib32disabled=yes
pre_configure() {
export DEBUG=-DNDEBUG
@ -22,11 +23,11 @@ do_install() {
make DIST_ROOT=${DESTDIR} install install-dev
# Remove unneeded stuff
rm -rf ${DESTDIR}/usr/share/doc
rm -f ${DESTDIR}/lib/*.{a,la}
rm -f ${DESTDIR}/lib*/*.{a,la}
rm -f ${DESTDIR}/usr/lib/*.{a,so}
# Move stuff to /usr.
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib
mv ${DESTDIR}/lib*/* ${DESTDIR}/usr/lib
}
xfsprogs-devel_package() {