blob: 56663ca022bc4b5401804dbb3c40408d5040f7c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=ddrescue
pkgver=1.17
pkgrel=0
pkgdesc="Data recovery tool for block devices with errors"
url="http://www.gnu.org/s/ddrescue/ddrescue.html"
arch="all"
license="GPL3+"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz"
_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="3d68afe4247c95d0c834463da57866cc ddrescue-1.17.tar.xz"
sha256sums="451d54fd8fe3c81f05564ee6677f6708c5a96602758fbe6fa3328eabc31d98e6 ddrescue-1.17.tar.xz"
sha512sums="4dfef5d224d4499d84bb28db72f1240898b98764871bf593616542a6b5e2e74a90ea678f810753f2785caf523103e59b516fc4a9e7986d46bce31323af6bf0ee ddrescue-1.17.tar.xz"
|