lib32/lib32-util-linux/PKGBUILD
2012-12-17 19:38:52 +00:00

39 lines
1019 B
Bash

# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=util-linux
pkgname=lib32-$_pkgbasename
pkgver=2.22.1
pkgrel=1
pkgdesc="Miscellaneous system utilities for Linux (32-bit)"
url="http://userweb.kernel.org/~kzak/util-linux-ng/"
arch=('x86_64')
depends=('lib32-glibc' $_pkgbasename=$pkgver)
makedepends=('gcc-multilib')
license=('GPL2')
options=('!libtool' '!emptydirs')
source=(ftp://ftp.kernel.org/pub/linux/utils/${_pkgbasename}/v2.22/util-linux-${pkgver}.tar.bz2)
md5sums=('cad23c41a014af766d467b86628bd0fd')
shopt -s extglob
build() {
cd "$_pkgbasename-$pkgver"
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --without-ncurses --libdir=/usr/lib32
make lib{uuid,blkid,mount}.la
}
package() {
make -C "$_pkgbasename-$pkgver" \
DESTDIR="$pkgdir" \
install-usrlib_execLTLIBRARIES \
install-pkgconfigDATA
}