summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2013-03-04 21:38:04 -0800
committerAlec Warner <antarus@gentoo.org>2013-03-04 21:38:04 -0800
commit585b0762dfa6515ff1d9832b895a2853ec9e4a8f (patch)
tree39fcf590324f12ac5d0c691ee3be51ad18612f45
downloadantarus-585b0762dfa6515ff1d9832b895a2853ec9e4a8f.tar.gz
antarus-585b0762dfa6515ff1d9832b895a2853ec9e4a8f.tar.bz2
antarus-585b0762dfa6515ff1d9832b895a2853ec9e4a8f.zip
Add cowdancer package.
-rw-r--r--app-misc/cowdancer/Manifest3
-rw-r--r--app-misc/cowdancer/cowdancer-0.13.ebuild28
-rw-r--r--app-misc/cowdancer/files/patches/0.13.make_install.patch10
3 files changed, 41 insertions, 0 deletions
diff --git a/app-misc/cowdancer/Manifest b/app-misc/cowdancer/Manifest
new file mode 100644
index 0000000..ccf4551
--- /dev/null
+++ b/app-misc/cowdancer/Manifest
@@ -0,0 +1,3 @@
+AUX patches/0.13.make_install.patch 485 SHA256 f8f945dcbc5f808764fc07c3ab2969a1f1a1a81209f4c8307e7c722a5cf124b8 SHA512 07ce2ebfcf224092a2db9f1e2ed52434f279db9a1a789810194bb3cfc0ad7731e27fc319cd10555a8baa04aabac01afee5f048340e9c8def08fe581114a31c59 WHIRLPOOL 12ecf4b3d148555bdfc57caeae3488382aca477f1fdeb7537ed632df8ac8ae7bb862583de75a49d8659a6e6ddb42dec7d762f9fba7b2e02a1479bab32bfb36a5
+DIST cowdancer_0.13.tar.gz 37954 SHA256 d648134a933f1f02a584304faaac2d2fbcda9fe236e198d531105870deaef57e SHA512 4b5e4b59fb23b53df1ffb84269b610e274e5592b3842933bd882194e96e6ba1beebee4f9a51e44e1b5d15dc82176c2b53563b79ebb88ccc8ea1a90634d8c56d2 WHIRLPOOL a4c33fcc962d24d49faad93dee106eb40edfe78e723e7a4e90812d6dffcae76e667ff33bad2a8d218d5ca5a7b30f5d2552124ce7f1e577b725d4489be9ed3fc3
+EBUILD cowdancer-0.13.ebuild 675 SHA256 3124251e541ef53674938b46ad68eda5f15f0d0658fe0ac37f2549ae330eaabd SHA512 eae2dd063e50bb8bdfcd7dad253e4b1b32862504a23b5f80157c84594fbd11344de7efaa20d1701c435576c43bae8bfe6351130a06f8814a0741ee06df694d74 WHIRLPOOL 3c762827f5ac723779e2f3a36fb7d6e51a9dfcd7ecd95a612ae92c5cd8cb8bd21990b9844b3ba32cde8b605a84d795e984601f82e968772f23e8df39b896444e
diff --git a/app-misc/cowdancer/cowdancer-0.13.ebuild b/app-misc/cowdancer/cowdancer-0.13.ebuild
new file mode 100644
index 0000000..7567026
--- /dev/null
+++ b/app-misc/cowdancer/cowdancer-0.13.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="Cowdancer allows copy-on-write file access, based on hardlinks."
+HOMEPAGE="http://www.netfort.gr.jp/~dancer/software/cowdancer.html"
+
+MY_P=${P//-/_}
+SRC_URI="http://www.netfort.gr.jp/~dancer/software/downloads/${MY_P}.tar.gz"
+LICENSE=""
+
+# The tests require the libraries and binaries in a specific location due to
+# LD_PRELOADing. Perhaps we should look at the sandbox tests.
+RESTRICT="test"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+DEPEND=""
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}/patches/${PV}.make_install.patch" || die "Failed to apply patches."
+}
diff --git a/app-misc/cowdancer/files/patches/0.13.make_install.patch b/app-misc/cowdancer/files/patches/0.13.make_install.patch
new file mode 100644
index 0000000..b65cf90
--- /dev/null
+++ b/app-misc/cowdancer/files/patches/0.13.make_install.patch
@@ -0,0 +1,10 @@
+--- Makefile 2013-03-04 21:20:36.864579961 -0800
++++ Makefile.new 2013-03-04 21:20:32.614581001 -0800
+@@ -10,6 +10,7 @@
+ install: $(BINARY)
+ $(INSTALL_DIR) $(DESTDIR)/usr/lib/cowdancer/
+ $(INSTALL_DIR) $(DESTDIR)/usr/share/man/man1/
++ $(INSTALL_DIR) $(DESTDIR)/usr/bin/
+ $(INSTALL_FILE) cow-shell.1 $(DESTDIR)/usr/share/man/man1/cow-shell.1
+ $(INSTALL_FILE) libcowdancer.so $(DESTDIR)/usr/lib/cowdancer/libcowdancer.so
+ $(INSTALL_PROGRAM) cow-shell $(DESTDIR)/usr/bin/cow-shell