diff options
Diffstat (limited to 'system/qemu-legacy')
-rw-r--r-- | system/qemu-legacy/qemu-legacy.SlackBuild | 16 | ||||
-rw-r--r-- | system/qemu-legacy/qemu-legacy.info | 2 |
2 files changed, 12 insertions, 6 deletions
diff --git a/system/qemu-legacy/qemu-legacy.SlackBuild b/system/qemu-legacy/qemu-legacy.SlackBuild index b43e1431aa93..8b6aaa065955 100644 --- a/system/qemu-legacy/qemu-legacy.SlackBuild +++ b/system/qemu-legacy/qemu-legacy.SlackBuild @@ -22,13 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +SRCNAM=qemu PRGNAM=qemu-legacy VERSION=${VERSION:-0.11.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -SRCNAM=qemu - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -61,7 +60,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . @@ -84,10 +83,17 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +mv $PKG/usr/share/man $PKG/usr/. +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/doc/qemu/* $PKG/usr/doc/$PRGNAM-$VERSION +rm -r $PKG/usr/share/doc cp -a \ - LICENSE README TODO COPYING COPYING.LIB *.txt \ + LICENSE README TODO COPYING COPYING.LIB CODING_STYLE Changelog MAINTAINERS VERSION \ $PKG/usr/doc/$PRGNAM-$VERSION + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/qemu-legacy/qemu-legacy.info b/system/qemu-legacy/qemu-legacy.info index ba7d58c1e5b8..a1868d04142f 100644 --- a/system/qemu-legacy/qemu-legacy.info +++ b/system/qemu-legacy/qemu-legacy.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="David Woodfall" EMAIL="dave@dawoodfall.net" -APPROVED="rworkman" +APPROVED="dsomero" |