26 lines
731 B
Plaintext
26 lines
731 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, crux at romster dot me
|
|
# Packager: Danny Rawlins, crux at romster dot me
|
|
|
|
name=ddrescue
|
|
version=1.19
|
|
release=1
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.lz)
|
|
|
|
build() {
|
|
bsdtar -xf $name-$version.tar.lz
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man
|
|
|
|
[ "$CXX" ] || CXX=g++
|
|
make CXXFLAGS="$CXXFLAGS" CXX="$CXX" $MAKEFLAGS
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share/info
|
|
find $PKG/usr/share -depth -empty -delete
|
|
}
|