mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 01:42:15 +08:00
39 lines
1019 B
Bash
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
|
|
}
|