qemu-kvm: build man pages (thank you jue for the hint)

This commit is contained in:
Thomas Penteker 2012-05-17 20:22:09 +02:00
parent 32bd693a51
commit 0e5088c372
2 changed files with 18 additions and 4 deletions

View File

@ -8,6 +8,12 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/qemu-io
-rwxr-xr-x root/root usr/bin/qemu-nbd
-rwxr-xr-x root/root usr/bin/qemu-system-x86_64
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/qemu-img.1.gz
-rw-r--r-- root/root usr/man/man1/qemu.1.gz
drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/qemu-nbd.8.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/qemu/
-rw-r--r-- root/root usr/share/qemu/bamboo.dtb

View File

@ -5,16 +5,24 @@
name=qemu-kvm
version=1.0.1
release=1
release=2
source=(http://download.sourceforge.net/kvm/qemu-kvm/$version/qemu-kvm-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr \
--sysconfdir=/etc
--sysconfdir=/etc \
--mandir=/usr/man
# fix include issues with nspr
echo 'QEMU_CFLAGS+=-I/usr/include/nspr' >> libcacard/Makefile
make
make install DESTDIR=$PKG
# no html docs
sed -i -e 's/\t$(INSTALL_DATA) qemu-doc.html/#&/g' \
-e 's/\t$(INSTALL_DIR) "$(DESTDIR)$(docdir)"/#&/g' Makefile
make all qemu.1 qemu-img.1 qemu-nbd.8
make install install-doc DESTDIR=$PKG
}