summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorLeonardo Valeri Manera <l.valerimanera@gmail.com>2008-03-09 20:32:02 +0000
committerLeonardo Valeri Manera <l.valerimanera@gmail.com>2008-03-09 20:32:02 +0000
commita734c074e574d83e8043449dc77ad967ff5e13a1 (patch)
tree827cac8b1b213ef3dd380996681f85cea6133293 /eclass
parentdev-chicken/easyffi: add ~amd64 (diff)
downloadlisp-a734c074e574d83e8043449dc77ad967ff5e13a1.tar.gz
lisp-a734c074e574d83e8043449dc77ad967ff5e13a1.tar.bz2
lisp-a734c074e574d83e8043449dc77ad967ff5e13a1.zip
eclass/eggs-svn.eclass: an eclass to support live svn egg ebuilds
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eggs-svn.eclass28
1 files changed, 28 insertions, 0 deletions
diff --git a/eclass/eggs-svn.eclass b/eclass/eggs-svn.eclass
new file mode 100644
index 00000000..4db71f10
--- /dev/null
+++ b/eclass/eggs-svn.eclass
@@ -0,0 +1,28 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+#
+# Copyright 2008 Leonardo Valeri Manera <l.valerimanera@gmail.com>
+#
+# @ECLASS: eggs-svn.eclass
+# @MAINTAINER:
+# @BLURB: Eclass for Chicken-Scheme SVN Egg packages
+# @DESCRIPTION:
+#
+# This eclass provides generalized functions to compile, test and
+# install eggs, as well as setting a number of variables to default
+# or autogenerated values.
+
+inherit eggs subversion
+
+SRC_URI=""
+ESVN_REPO_URI="https://galinha.ucpel.tche.br/svn/chicken-eggs/release/3/${EGG_NAME}/trunk"
+ESVN_OPTIONS="--non-interactive --username anonymous"
+
+eggs-svn_src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ subversion_fetch || die
+}
+
+EXPORT_FUNCTIONS src_unpack