|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2009,2010,2011 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2009,2010,2011,2012 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -26,7 +26,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-qemu-kvm} |
|
|
|
|
VERSION=${VERSION:-0.14.0} |
|
|
|
|
VERSION=${VERSION:-1.1.2} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
|
WGET=${WGET:-http://downloads.sourceforge.net/kvm/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -93,7 +93,8 @@ make
|
|
|
|
|
make install DESTDIR=$PKG |
|
|
|
|
|
|
|
|
|
# Strip binaries |
|
|
|
|
strip --strip-unneeded $PKG/usr/bin/qemu-{img,io,nbd} |
|
|
|
|
strip --strip-unneeded $PKG/usr/bin/qemu-{ga,img,io,nbd,system-x86_64} \ |
|
|
|
|
$PKG/usr/bin/virtfs-proxy-helper |
|
|
|
|
|
|
|
|
|
# Compress man pages |
|
|
|
|
find $PKG/usr/man -type f -exec gzip -9 {} \; |
|
|
|
|