aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fatback/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2011-06-29 21:58:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 06:22:13 +0000
commitd726d8073131e92686f3692f93b0e9b095e0a67f (patch)
tree57da41ec2ff8b27f8b64bd8bb5f2f7b08d3a4994 /testing/fatback/APKBUILD
parentc92070ca35324cd780e4e9da62c8e25e3817cf60 (diff)
downloadaports-d726d8073131e92686f3692f93b0e9b095e0a67f.tar.bz2
aports-d726d8073131e92686f3692f93b0e9b095e0a67f.tar.xz
Initial APKBUILD of fatback
Diffstat (limited to 'testing/fatback/APKBUILD')
-rw-r--r--testing/fatback/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/fatback/APKBUILD b/testing/fatback/APKBUILD
new file mode 100644
index 0000000000..135e491f85
--- /dev/null
+++ b/testing/fatback/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer:
+pkgname=fatback
+pkgver=1.3
+pkgrel=0
+pkgdesc="A tool for recovering files from FAT file systems"
+url="http://fatback.sourceforge.net/"
+arch="all"
+license="GPL2"
+depends=""
+depends_dev=""
+makedepends="flex"
+install=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="4f1beb13670a7eff5b66cff84e5fd42a fatback-1.3.tar.gz"