# Contributor: Jesse Young # Maintainer: Jesse Young setvar pkgname = 'dcfldd' setvar pkgver = '1.3.4.1' setvar _pkgver = ""${pkgver%.*}-${pkgver##*.}"" setvar pkgrel = '0' setvar pkgdesc = ""DCFL (DoD Computer Forensics Lab) dd replacement with hashing"" setvar url = ""http://dcfldd.sourceforge.net/"" setvar arch = ""all"" setvar license = ""GPL"" setvar depends = """" setvar depends_dev = """" setvar makedepends = "$depends_dev" setvar install = """" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${_pkgver}.tar.gz dcfldd-error.patch"" setvar _builddir = ""${srcdir}/${pkgname}-${_pkgver}"" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 } setvar md5sums = ""952026c872f11b53ce0ec6681a3eef0a dcfldd-1.3.4-1.tar.gz 2e2ee971748845947312f5345b96e940 dcfldd-error.patch"" setvar sha256sums = ""f5143a184da56fd5ac729d6d8cbcf9f5da8e1cf4604aa9fb97c59553b7e6d5f8 dcfldd-1.3.4-1.tar.gz 004408bab8296050107e92e5a5fdf14e3b145acb324bfcf697a29ca9f11218d4 dcfldd-error.patch"" setvar sha512sums = ""04b53adf62c6b468ff816e2cd94cf360eb5315eb980e2aa7d71afae706ec9c4683430269e82d712608be265710907fdaaa1316e4f734b7481ee9395a37926c7a dcfldd-1.3.4-1.tar.gz f0c33fbc5f2d2eb8075d7faa460987d441da04be6831f85743a0ffd5d58796722395efc8c9dd7137a0b8bbc017b9995cf18b3ef37e56e17fdbd842fcaa573c83 dcfldd-error.patch""