qemu-kvm: build man pages (thank you jue for the hint)
This commit is contained in:
parent
32bd693a51
commit
0e5088c372
@ -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-io
|
||||||
-rwxr-xr-x root/root usr/bin/qemu-nbd
|
-rwxr-xr-x root/root usr/bin/qemu-nbd
|
||||||
-rwxr-xr-x root/root usr/bin/qemu-system-x86_64
|
-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/
|
||||||
drwxr-xr-x root/root usr/share/qemu/
|
drwxr-xr-x root/root usr/share/qemu/
|
||||||
-rw-r--r-- root/root usr/share/qemu/bamboo.dtb
|
-rw-r--r-- root/root usr/share/qemu/bamboo.dtb
|
||||||
|
@ -5,16 +5,24 @@
|
|||||||
|
|
||||||
name=qemu-kvm
|
name=qemu-kvm
|
||||||
version=1.0.1
|
version=1.0.1
|
||||||
release=1
|
release=2
|
||||||
source=(http://download.sourceforge.net/kvm/qemu-kvm/$version/qemu-kvm-$version.tar.gz)
|
source=(http://download.sourceforge.net/kvm/qemu-kvm/$version/qemu-kvm-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc
|
--sysconfdir=/etc \
|
||||||
|
--mandir=/usr/man
|
||||||
|
|
||||||
# fix include issues with nspr
|
# fix include issues with nspr
|
||||||
echo 'QEMU_CFLAGS+=-I/usr/include/nspr' >> libcacard/Makefile
|
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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user