summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-29 09:53:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:20 +0000
commit6fa1faa72eb012e1dd76e62298f762bc33238907 (patch)
tree6a543c38a136cf5be5f0e6f21a313d16ea14bbe5 /testing
parenta1940fc4cd37972ca7af2559c6fea880d48d19ac (diff)
downloadaports-6fa1faa72eb012e1dd76e62298f762bc33238907.tar.bz2
aports-6fa1faa72eb012e1dd76e62298f762bc33238907.tar.xz
testing/duff: new aport
A command-line tool for finding duplicate files http://sourceforge.net/projects/duff/
Diffstat (limited to 'testing')
-rw-r--r--testing/duff/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/duff/APKBUILD b/testing/duff/APKBUILD
new file mode 100644
index 000000000..9bbe0ff3a
--- /dev/null
+++ b/testing/duff/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=duff
+pkgver=0.5.2
+pkgrel=0
+pkgdesc="A command-line tool for finding duplicate files"
+url="http://sourceforge.net/projects/duff/"
+arch="all"
+license="ZLIB"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/duff/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="483f9216ebea14b090e0d71dbf7077ff duff-0.5.2.tar.gz"
+sha256sums="15b721f7e0ea43eba3fd6afb41dbd1be63c678952bf3d80350130a0e710c542e duff-0.5.2.tar.gz"
+sha512sums="6fb1ede1e935c25c6bf354fee94ef1d9d454d5b98069ce671600e91767f802ad5c74bc602ad2c9e19a502e29c8c0ffcd0563a779714a16389594ea5678504768 duff-0.5.2.tar.gz"