1
0
forked from ports/contrib

21 lines
589 B
Plaintext
Raw Normal View History

2007-12-05 20:58:20 +11:00
# 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.
2017-01-28 18:15:03 +11:00
# URL: https://www.gnu.org/software/ddrescue/ddrescue.html
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
2007-12-05 20:58:20 +11:00
name=ddrescue
2022-02-05 18:16:50 +01:00
version=1.26
2007-12-05 20:58:20 +11:00
release=1
2017-01-28 18:15:03 +11:00
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.lz)
2007-12-05 20:58:20 +11:00
build() {
2008-11-18 18:29:34 +11:00
cd $name-$version
2009-11-11 01:07:34 +11:00
2017-01-28 18:15:03 +11:00
./configure --prefix=/usr
2009-11-11 01:07:34 +11:00
2017-01-28 18:15:03 +11:00
make CXXFLAGS="$CXXFLAGS" $MAKEFLAGS
2007-12-05 20:58:20 +11:00
make DESTDIR=$PKG install
2013-07-18 23:49:56 +10:00
rm -rf $PKG/usr/share/info
find $PKG/usr/share -depth -empty -delete
2007-12-05 20:58:20 +11:00
}