forked from ports/contrib
24 lines
658 B
Plaintext
24 lines
658 B
Plaintext
# 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.
|
|
# URL: http://www.gnu.org/software/ddrescue/ddrescue.html
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Depends on: texinfo
|
|
|
|
name=ddrescue
|
|
version=1.12
|
|
release=1
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/share/info
|
|
rmdir $PKG/usr/share
|
|
}
|