blob: 8ad3a5e59caf94da270247fb1c8f23fd4bec6591 (
plain)
1 # Description: ddrescue is a data recovery tool. It copies data from one file or block device (hard disc, cdrom, etc) to another, trying hard to rescue data in case of read errors.
2 # URL: https://www.gnu.org/software/ddrescue/ddrescue.html
3 # Maintainer: Danny Rawlins, crux at romster dot me
4
5 name=ddrescue
6 version=1.26
7 release=1
8 source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.lz)
9
10 build() {
11 cd $name-$version
12
13 ./configure --prefix=/usr
14
15 make CXXFLAGS="$CXXFLAGS" $MAKEFLAGS
16 make DESTDIR=$PKG install
17
18 rm -rf $PKG/usr/share/info
19 find $PKG/usr/share -depth -empty -delete
20 }
|