diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-13 15:24:45 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-13 15:24:45 +0100 |
commit | b8b9587650875423230c5f9e60286c96858de4d5 (patch) | |
tree | 9788951ee774e753b3b263c27010d7f68eee9882 /community/ddrescue/APKBUILD | |
parent | 32e5d400524f2ca57689f6f79bd6af735c2ca440 (diff) | |
download | aports-b8b9587650875423230c5f9e60286c96858de4d5.tar.bz2 aports-b8b9587650875423230c5f9e60286c96858de4d5.tar.xz |
community/ddrescue: move from testing
Diffstat (limited to 'community/ddrescue/APKBUILD')
-rw-r--r-- | community/ddrescue/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/ddrescue/APKBUILD b/community/ddrescue/APKBUILD new file mode 100644 index 0000000000..5b1b8b8998 --- /dev/null +++ b/community/ddrescue/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=ddrescue +pkgver=1.21 +pkgrel=0 +pkgdesc="Data recovery tool for block devices with errors" +url="http://www.gnu.org/s/ddrescue/ddrescue.html" +arch="all !aarch64" +license="GPL3+" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + return 0 +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + || return 1 + make || return 1 + make check || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="f4bb15eabe936611e6722b44c120d101 ddrescue-1.21.tar.gz" +sha256sums="80f74a022dd10ea94add026078f088a2581ce7d8082df853c302a74cb8dd4139 ddrescue-1.21.tar.gz" +sha512sums="88d8571f4ab5e6ac7fcae5d5c77c104dab5a117596d5a2c13e0308af96811c601a429fe4ced12ba02e5a0e20bfd4aae6e3bec6fdc0860f3f80f8d89a4d85d97c ddrescue-1.21.tar.gz" |