aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Ramos2012-08-17 01:30:58 +0000
committerGuillermo Ramos2012-08-17 01:30:58 +0000
commitc375c601cfb1665b948dda0a69afed921ad60de6 (patch)
tree573744831407607e2a4604d000516ed857262560
downloadexheres-c375c601cfb1665b948dda0a69afed921ad60de6.tar.gz
First commit
-rw-r--r--metadata/about.conf4
-rw-r--r--metadata/categories.conf2
-rw-r--r--metadata/layout.conf5
-rw-r--r--packages/dev-lang/clojure/clojure-1.4.0.exheres-048
-rw-r--r--packages/dev-lang/clojure/files/clojure-1.43
-rw-r--r--packages/net-wireless/ar9271-firmware/ar9271-firmware-1.3.exheres-033
-rw-r--r--profiles/repo_name1
7 files changed, 96 insertions, 0 deletions
diff --git a/metadata/about.conf b/metadata/about.conf
new file mode 100644
index 0000000..f030ca8
--- /dev/null
+++ b/metadata/about.conf
@@ -0,0 +1,4 @@
+summary = Guillermo Ramos's own exheres repo
+homepage = http://exheres.ramos.in
+owner = Guillermo Ramos <0xwille@gmail.com>
+status = third-party
diff --git a/metadata/categories.conf b/metadata/categories.conf
new file mode 100644
index 0000000..e89d750
--- /dev/null
+++ b/metadata/categories.conf
@@ -0,0 +1,2 @@
+dev-lang
+net-wireless
diff --git a/metadata/layout.conf b/metadata/layout.conf
new file mode 100644
index 0000000..d39ed5a
--- /dev/null
+++ b/metadata/layout.conf
@@ -0,0 +1,5 @@
+layout = exheres
+eapi_when_unknown = exheres-0
+eapi_when_unspecified = exheres-0
+profile_eapi_when_unspecified = exheres-0
+masters = arbor java
diff --git a/packages/dev-lang/clojure/clojure-1.4.0.exheres-0 b/packages/dev-lang/clojure/clojure-1.4.0.exheres-0
new file mode 100644
index 0000000..22e5cea
--- /dev/null
+++ b/packages/dev-lang/clojure/clojure-1.4.0.exheres-0
@@ -0,0 +1,48 @@
+# Copyright 2012 Guillermo Ramos
+# Distributed under the terms of the GNU General Public License v2
+# Based in part upon 'clojure-1.4.0.ebuild' from Gentoo, which is:
+# Copyright 1999-2012 Gentoo Foundation
+
+require ant
+
+SUMMARY="Clojure is a dynamic programming language that targets the Java Virtual Machine"
+HOMEPAGE="http://clojure.org/"
+DOWNLOADS="https://github.com/clojure/clojure/tarball/${PNV} -> ${PNV}.tar.gz"
+
+LICENCES="EPL-1.0"
+PLATFORMS="amd64 x86"
+SLOT="1.4"
+
+DEPENDENCIES="
+ build:
+ virtual/jdk[>=1.5]
+ run:
+ virtual/jre[>=1.5]
+"
+
+
+SHORT_PNV=${PN}-${SLOT}
+
+WORK=${WORKBASE}/clojure-clojure-8306949
+
+ANT_SRC_COMPILE_PARAMS=( jar )
+ANT_SRC_TEST_PARAMS=( test )
+
+
+src_prepare() { :; }
+
+src_install() {
+ edo mv ${PNV}.jar ${PN}.jar
+
+ insinto /usr/share/${SHORT_PNV}
+ doins ${PN}.jar
+
+ exeinto /usr/bin/
+ doexe ${FILES}/${SHORT_PNV}
+
+ # Is this ethical?
+ dosym /usr/bin/${SHORT_PNV} /usr/bin/${PN}
+
+ dodoc changes.md readme.txt
+}
+
diff --git a/packages/dev-lang/clojure/files/clojure-1.4 b/packages/dev-lang/clojure/files/clojure-1.4
new file mode 100644
index 0000000..b707ff3
--- /dev/null
+++ b/packages/dev-lang/clojure/files/clojure-1.4
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+java -cp /usr/share/clojure-1.4/clojure.jar clojure.main
diff --git a/packages/net-wireless/ar9271-firmware/ar9271-firmware-1.3.exheres-0 b/packages/net-wireless/ar9271-firmware/ar9271-firmware-1.3.exheres-0
new file mode 100644
index 0000000..8416805
--- /dev/null
+++ b/packages/net-wireless/ar9271-firmware/ar9271-firmware-1.3.exheres-0
@@ -0,0 +1,33 @@
+# Copyright 2012 Guillermo Ramos
+# Distributed under the terms of the GNU General Public License v2
+# Based in part upon 'ar9271-firmware-1.3.ebuild' from Gentoo, which is:
+# Copyright 1999-2011 Gentoo Foundation
+
+FIRMWARE_NAME="htc_9271.fw"
+
+SUMMARY="Atheros firmware for AR9271 (ath9k_htc module)"
+HOMEPAGE="http://linuxwireless.org/en/users/Drivers/ath9k_htc"
+DOWNLOADS="http://linuxwireless.org/download/htc_fw/${PV}/${FIRMWARE_NAME} -> ${PNV}-${FIRMWARE_NAME}
+ http://linuxwireless.org/download/htc_fw/${PV}/Changelog -> ${PNV}.Changelog"
+
+LICENCES="GPL-2"
+PLATFORMS="~amd64 ~arm ~x86"
+SLOT="0"
+MYOPTIONS=""
+
+DEPENDENCIES="
+"
+
+WORK="${WORKBASE}"
+
+src_prepare() {
+ edo cp "${FETCHEDDIR}"/${PNV}-${FIRMWARE_NAME} "${WORK}"/${FIRMWARE_NAME}
+ edo cp "${FETCHEDDIR}"/${PNV}.Changelog "${WORK}"/Changelog
+}
+
+src_install() {
+ insinto $(canonicalise /lib/firmware)
+ doins "${FIRMWARE_NAME}"
+ default
+}
+
diff --git a/profiles/repo_name b/profiles/repo_name
new file mode 100644
index 0000000..d8843ef
--- /dev/null
+++ b/profiles/repo_name
@@ -0,0 +1 @@
+gramos