diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-18 08:12:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-18 08:13:34 +0000 |
commit | f5edf3be6fda2e25ce8a47eba346c266351fb30f (patch) | |
tree | bfa74b471aed9e1e3a3be301932f663c8a1eec9f /main/partimage/APKBUILD | |
parent | 2f95d3f2773af24d5a18cf59088a857ef4923f63 (diff) | |
download | aports-f5edf3be6fda2e25ce8a47eba346c266351fb30f.tar.bz2 aports-f5edf3be6fda2e25ce8a47eba346c266351fb30f.tar.xz |
main/partimage: move from testing
Diffstat (limited to 'main/partimage/APKBUILD')
-rw-r--r-- | main/partimage/APKBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/main/partimage/APKBUILD b/main/partimage/APKBUILD new file mode 100644 index 0000000000..c6ad86a1fb --- /dev/null +++ b/main/partimage/APKBUILD @@ -0,0 +1,54 @@ +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=partimage +pkgver=0.6.9 +pkgrel=1 +pkgdesc="Saves partitions having a supported filesystem to an image file" +url="http://www.partimage.org" +arch="all" +license="GPL" +depends= +makedepends="bzip2-dev newt-dev zlib-dev gettext-dev slang-dev openssl-dev + newt-dev" +install= +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/project/$pkgname/stable/$pkgver/$pkgname-$pkgver.tar.bz2 + partimage-0.6.9-zlib-1.2.6.patch + partimage-0.6.9-common.patch +" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + export LIBS="$LIBS -lintl" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-nls + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="1bc046fd915c5debbafc85729464e513 partimage-0.6.9.tar.bz2 +6139caa49838f71e6b8ac11624252cf7 partimage-0.6.9-zlib-1.2.6.patch +82e01a132c3d4ca656f3c7e96bf86c72 partimage-0.6.9-common.patch" +sha256sums="753a6c81f4be18033faed365320dc540fe5e58183eaadcd7a5b69b096fec6635 partimage-0.6.9.tar.bz2 +67bb600b135ab4e9febf2b17ca4666d8bb0a334abc4e548d555a167a32b9615d partimage-0.6.9-zlib-1.2.6.patch +5beebb0fa26168eecccbd9baf609d5ed207cdf5f420d75218e700be95c9d6760 partimage-0.6.9-common.patch" +sha512sums="252885921b23933fdcdf0bb6efa4b82066b08ca95cc653296912d384ae875b421c1d39f347a90115315139176d4eab4a930c24919c2d38cf00ed29c764cd14d9 partimage-0.6.9.tar.bz2 +f6feaf6967620ca5512aec50ada13e1b3676976ee2e04cebb3cd64c991ec8be47b337cd99c2656b3a1c77ce4ea25661784a8217f6d8325fd346f1d15463392ce partimage-0.6.9-zlib-1.2.6.patch +39faba3b75302c0fb04e343b3854549c06447e28040f9c49a83d595533901e3c6af252a18d8db0394cbaabc7c9c1bde014f2d423cab80dadb6ea5322dc19a381 partimage-0.6.9-common.patch" |