From 51b123307c9f833caa11ffb687247b9f7b359662 Mon Sep 17 00:00:00 2001 From: Barry J. Grundy Date: Tue, 16 Dec 2014 18:53:18 +0700 Subject: libraries/libqcow: Added (libYAL QEMU QCOW Image Library). Signed-off-by: Willy Sudiarto Raharjo --- libraries/libqcow/README | 20 +++++++ libraries/libqcow/libqcow.SlackBuild | 101 +++++++++++++++++++++++++++++++++++ libraries/libqcow/libqcow.info | 10 ++++ libraries/libqcow/slack-desc | 19 +++++++ 4 files changed, 150 insertions(+) create mode 100644 libraries/libqcow/README create mode 100644 libraries/libqcow/libqcow.SlackBuild create mode 100644 libraries/libqcow/libqcow.info create mode 100644 libraries/libqcow/slack-desc (limited to 'libraries/libqcow') diff --git a/libraries/libqcow/README b/libraries/libqcow/README new file mode 100644 index 0000000000..7c12418d27 --- /dev/null +++ b/libraries/libqcow/README @@ -0,0 +1,20 @@ +libqcow (libYAL QEMU QCOW image library) + +Library and tooling to access the QEMU Copy-On-Write (QCOW) image format. + +Read supported QCOW formats: + version 1 + version 2 + version 3 (as of version 20141201) +Supported QCOW format features: + compression + encryption +QCOW format features not supported at the moment: + backing file-based snapshots + in-image snapshots +Work in progress: + Python bindings + Dokan library support + Thread-safety in file API functions +Planned: + Python 3 support diff --git a/libraries/libqcow/libqcow.SlackBuild b/libraries/libqcow/libqcow.SlackBuild new file mode 100644 index 0000000000..e7d720d4d4 --- /dev/null +++ b/libraries/libqcow/libqcow.SlackBuild @@ -0,0 +1,101 @@ +#!/bin/sh + +# Slackware build script for libqcow + +# Copyright 2014 Barry J. Grundy (bgrundylinuxleo.com) +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Updated v20141201 December 2014 Barry J. Grundy $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/libqcow/libqcow.info b/libraries/libqcow/libqcow.info new file mode 100644 index 0000000000..8268f0ed5b --- /dev/null +++ b/libraries/libqcow/libqcow.info @@ -0,0 +1,10 @@ +PRGNAM="libqcow" +VERSION="20141201" +HOMEPAGE="https://github.com/libyal/libqcow" +DOWNLOAD="https://github.com/libyal/libqcow/releases/download/20141201/libqcow-alpha-20141201.tar.gz" +MD5SUM="fceec4706b2c3bc0e8f05a621a0ad060" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Barry J. Grundy" +EMAIL="bgrundylinuxleo.com" diff --git a/libraries/libqcow/slack-desc b/libraries/libqcow/slack-desc new file mode 100644 index 0000000000..908a3bf441 --- /dev/null +++ b/libraries/libqcow/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +libqcow: libqcow (libYAL QEMU QCOW image library) +libqcow: +libqcow: Library and tooling to access the QEMU Copy-On-Write (QCOW) image +libqcow: format. +libqcow: +libqcow: Homepage: https://github.com/libyal/libqcow +libqcow: +libqcow: +libqcow: +libqcow: +libqcow: -- cgit v1.2.3