diff --git a/srcpkgs/util-linux-ng/libblkid-devel.template b/srcpkgs/util-linux-ng/libblkid-devel.template index b82740e4081..5d2fc6a764e 100644 --- a/srcpkgs/util-linux-ng/libblkid-devel.template +++ b/srcpkgs/util-linux-ng/libblkid-devel.template @@ -7,6 +7,8 @@ long_desc=" This package contains files for development, headers, static libs, etc." +revision=1 + Add_dependency run zlib-devel Add_dependency run libuuid-devel Add_dependency run libblkid @@ -18,7 +20,6 @@ do_install() mv ${SRCPKGDESTDIR}/usr/include/blkid ${DESTDIR}/usr/include mv ${SRCPKGDESTDIR}/usr/lib/libblkid.a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/libblkid.so ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/blkid.pc \ ${DESTDIR}/usr/lib/pkgconfig mv ${SRCPKGDESTDIR}/usr/share/man/man3/libblkid.3 \ diff --git a/srcpkgs/util-linux-ng/libblkid.template b/srcpkgs/util-linux-ng/libblkid.template index 642b261e961..48cd24962b2 100644 --- a/srcpkgs/util-linux-ng/libblkid.template +++ b/srcpkgs/util-linux-ng/libblkid.template @@ -5,12 +5,15 @@ long_desc=" The libblkid package contains a library to handle device identification and token extraction." +revision=1 + Add_dependency run glibc Add_dependency run zlib Add_dependency run libuuid do_install() { - mkdir -p ${DESTDIR}/lib - mv ${SRCPKGDESTDIR}/lib/libblkid.so.* ${DESTDIR}/lib + mkdir -p ${DESTDIR}/lib ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/lib/libblkid.so* ${DESTDIR}/lib + mv ${SRCPKGDESTDIR}/usr/lib/libblkid.so ${DESTDIR}/usr/lib }