util-linux: enable static libs, required by qemu-user-static.

This commit is contained in:
Juan RP 2013-04-21 05:30:55 +02:00
parent c561ecac3c
commit aba63d048b

View file

@ -1,7 +1,7 @@
# Template file for 'util-linux' # Template file for 'util-linux'
pkgname=util-linux pkgname=util-linux
version=2.22.2 version=2.22.2
revision=8 revision=9
short_desc="Miscellaneous linux utilities" short_desc="Miscellaneous linux utilities"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://userweb.kernel.org/~kzak/util-linux-ng" homepage="http://userweb.kernel.org/~kzak/util-linux-ng"
@ -29,7 +29,7 @@ do_configure() {
--enable-vipw --enable-newgrp --enable-chfn-chsh \ --enable-vipw --enable-newgrp --enable-chfn-chsh \
--with-systemdsystemunitdir=/usr/lib/systemd/system \ --with-systemdsystemunitdir=/usr/lib/systemd/system \
--without-udev --enable-write \ --without-udev --enable-write \
--enable-socket-activation --disable-static \ --enable-socket-activation \
SUID_CFLAGS="-fPIE" SUID_LDFLAGS="-pie" SUID_CFLAGS="-fPIE" SUID_LDFLAGS="-pie"
} }
@ -65,6 +65,7 @@ libmount-devel_package() {
depends="libblkid-devel-${version}_${revision} libmount-${version}_${revision}" depends="libblkid-devel-${version}_${revision} libmount-${version}_${revision}"
short_desc="mount(8) library development files" short_desc="mount(8) library development files"
pkg_install() { pkg_install() {
vmove usr/lib/libmount.a
vmove "usr/lib/pkgconfig/*mount*" vmove "usr/lib/pkgconfig/*mount*"
vmove usr/include/libmount vmove usr/include/libmount
} }
@ -82,6 +83,7 @@ libblkid-devel_package() {
short_desc="libblkid development files" short_desc="libblkid development files"
pkg_install() { pkg_install() {
vmove usr/include/blkid vmove usr/include/blkid
vmove usr/lib/libblkid.a
vmove usr/lib/pkgconfig/blkid.pc vmove usr/lib/pkgconfig/blkid.pc
vmove usr/share/man/man3/libblkid.3 vmove usr/share/man/man3/libblkid.3
} }
@ -98,6 +100,7 @@ libuuid-devel_package() {
depends="libuuid-${version}_${revision}" depends="libuuid-${version}_${revision}"
short_desc="UUID library development files" short_desc="UUID library development files"
pkg_install() { pkg_install() {
vmove usr/lib/libuuid.a
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove usr/include vmove usr/include
vmove usr/share/man/man3 vmove usr/share/man/man3
@ -120,7 +123,6 @@ util-linux_package() {
provides="eject-${version}" provides="eject-${version}"
depends="coreutils shadow>=4.1.5.1_3" depends="coreutils shadow>=4.1.5.1_3"
pkg_install() { pkg_install() {
vmove etc vmove all
vmove usr
} }
} }