That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'qemu-user-static'
|
|
pkgname=qemu-user-static
|
|
version=2.2.1
|
|
revision=1
|
|
wrksrc="qemu-${version}"
|
|
hostmakedepends="pkg-config automake python"
|
|
makedepends="libglib-devel pixman-devel libuuid-devel"
|
|
short_desc="QEMU User-mode emulators (statically compiled)"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://qemu.org"
|
|
license="GPL-2, LGPL-2.1"
|
|
distfiles="http://wiki.qemu.org/download/qemu-${version}.tar.bz2"
|
|
checksum=4617154c6ef744b83e10b744e392ad111dd351d435d6563ce24d8da75b1335a0
|
|
|
|
do_configure() {
|
|
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec \
|
|
--disable-kvm --disable-vnc-png --disable-vnc-tls \
|
|
--disable-virtfs --disable-fdt --disable-seccomp \
|
|
--disable-kvm --enable-linux-user --disable-system
|
|
}
|
|
do_build() {
|
|
make ${makejobs} LDFLAGS="-static -lrt -luuid"
|
|
}
|
|
do_install() {
|
|
make DESTDIR=${DESTDIR} install
|
|
# Remove unneeded stuff.
|
|
rm -rf ${DESTDIR}/etc ${DESTDIR}/usr/share ${DESTDIR}/usr/libexec
|
|
for f in nbd io img; do
|
|
rm -f ${DESTDIR}/usr/bin/qemu-${f}
|
|
done
|
|
for f in ${DESTDIR}/usr/bin/*; do
|
|
mv ${f} ${f}-static
|
|
done
|
|
}
|