summaryrefslogtreecommitdiffstats
path: root/main/cowdancer/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-06-28 13:03:56 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-06-28 13:04:45 -0500
commit8eb3352f58c6f5d5e6898ff33f3877da5b30e2c2 (patch)
treed1b6f783390554c0d7ecb30a903505d2334e14ba /main/cowdancer/APKBUILD
parent629651f07b4ea0bb80df13eac7e8b551c0264b91 (diff)
downloadaports-8eb3352f58c6f5d5e6898ff33f3877da5b30e2c2.tar.bz2
aports-8eb3352f58c6f5d5e6898ff33f3877da5b30e2c2.tar.xz
main/cowdancer: new aport
Diffstat (limited to 'main/cowdancer/APKBUILD')
-rw-r--r--main/cowdancer/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/cowdancer/APKBUILD b/main/cowdancer/APKBUILD
new file mode 100644
index 000000000..2c59a994a
--- /dev/null
+++ b/main/cowdancer/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=cowdancer
+pkgver=0.63
+pkgrel=0
+pkgdesc="userland copy-on-write filesystem"
+url="http://www.netfort.gr.jp/~dancer/software/cowdancer.html"
+arch="all"
+license="GPL"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://ftp.de.debian.org/debian/pool/main/c/cowdancer/cowdancer_${pkgver}.tar.gz
+ cowdancer-disable-cowbuilder.patch
+ cowdancer-no-vsym.patch"
+
+_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"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="8632184e830a041e1a3319d1ed39e31d cowdancer_0.63.tar.gz
+6b59f89cc093670950a3bc00df19d10f cowdancer-disable-cowbuilder.patch
+da87422b0350bcba5bd79cae8b4da596 cowdancer-no-vsym.patch"