v4l-utils: use --libdir=/usr/lib32 on x86 for 32bit pkgs.
This commit is contained in:
parent
b4ce06d32d
commit
7c8e4581e0
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'v4l-utils'
|
||||
pkgname=v4l-utils
|
||||
version=1.0.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-qv4l2 --with-udevdir=/usr/lib/udev"
|
||||
hostmakedepends="libtool which pkg-config"
|
||||
makedepends="libjpeg-turbo-devel libsysfs-devel"
|
||||
depends="sysfsutils"
|
||||
conf_files="/etc/rc_maps.cfg"
|
||||
short_desc="Userspace tools and libraries for Video 4 Linux"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -15,6 +14,17 @@ license="GPL-2, LGPL-2.1"
|
|||
distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
|
||||
checksum=fc0132e82a18dfad9619be3abf50c206e2f449b1c14440cde36f25874fdce7df
|
||||
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
configure_args+=" --libdir=/usr/lib32"
|
||||
pre_install() {
|
||||
vmkdir usr/lib
|
||||
ln -s lib ${DESTDIR}/usr/lib32
|
||||
}
|
||||
post_install() {
|
||||
rm ${DESTDIR}/usr/lib32
|
||||
}
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
libtoolize -f
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue