summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2013-10-02 22:59:32 +0000
committerWilliam Hubbs <williamh@gentoo.org>2013-10-02 22:59:32 +0000
commit9221ae935b79753e4dd85adf0683726fb7c81111 (patch)
treeafb5aa96ad7bdbd1c5b7a508935a05677d4b45a8 /dev-lang/execline
parentNew package for dev-java/struts-plugins, the Plugins of Struts 2. (diff)
downloadgentoo-2-9221ae935b79753e4dd85adf0683726fb7c81111.tar.gz
gentoo-2-9221ae935b79753e4dd85adf0683726fb7c81111.tar.bz2
gentoo-2-9221ae935b79753e4dd85adf0683726fb7c81111.zip
initial commit
(Portage version: 2.2.1/cvs/Linux i686, signed Manifest commit with key 0x30C46538)
Diffstat (limited to 'dev-lang/execline')
-rw-r--r--dev-lang/execline/ChangeLog9
-rw-r--r--dev-lang/execline/execline-1.2.3.ebuild64
-rw-r--r--dev-lang/execline/metadata.xml13
3 files changed, 86 insertions, 0 deletions
diff --git a/dev-lang/execline/ChangeLog b/dev-lang/execline/ChangeLog
new file mode 100644
index 000000000000..b3fbff4abdc3
--- /dev/null
+++ b/dev-lang/execline/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-lang/execline
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/execline/ChangeLog,v 1.1 2013/10/02 22:59:32 williamh Exp $
+
+*execline-1.2.3 (02 Oct 2013)
+
+ 02 Oct 2013; William Hubbs <williamh@gentoo.org> +execline-1.2.3.ebuild,
+ +metadata.xml:
+ initial commit
diff --git a/dev-lang/execline/execline-1.2.3.ebuild b/dev-lang/execline/execline-1.2.3.ebuild
new file mode 100644
index 000000000000..3c286e51e793
--- /dev/null
+++ b/dev-lang/execline/execline-1.2.3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/execline/execline-1.2.3.ebuild,v 1.1 2013/10/02 22:59:32 williamh Exp $
+
+EAPI=5
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="a non-interactive scripting language similar to SH"
+HOMEPAGE="http://www.skarnet.org/software/execline/"
+SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+COMMON_DEPEND=">=dev-libs/skalibs-1.4.1"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+S=${WORKDIR}/admin/${P}
+
+src_configure()
+{
+ echo $(tc-getCC) ${CFLAGS} > conf-compile/conf-cc
+ echo $(tc-getCC) ${LDFLAGS} > conf-compile/conf-dynld
+ echo /usr/$(get_libdir)/execline > conf-compile/conf-install-library
+ echo /$(get_libdir) > conf-compile/conf-install-library.so
+ echo $(tc-getCC) ${LDFLAGS} > conf-compile/conf-ld
+ echo > conf-compile/conf-stripbins
+ echo > conf-compile/conf-striplibs
+ rm conf-compile/flag-slashpackage
+ echo /usr/lib/skalibs/sysdeps > conf-compile/import
+ echo /usr/include/skalibs > conf-compile/path-include
+ echo /usr/$(get_libdir)/skalibs > conf-compile/path-library
+ echo /$(get_libdir)/skalibs > conf-compile/path-library.so
+}
+
+src_compile()
+{
+ emake -j1
+}
+
+src_install()
+{
+ into /
+ dobin command/*
+ dolib.so library.so/*
+
+ insinto /etc
+ doins etc/*
+
+ insinto /usr/include
+ doins include/*
+
+ if use static-libs ; then
+ into /usr
+ dolib.a library/*
+ fi
+
+ dodoc $(find doc -type f ! -name "*.html" ! -name "COPYING")
+ dohtml -r doc/*
+}
diff --git a/dev-lang/execline/metadata.xml b/dev-lang/execline/metadata.xml
new file mode 100644
index 000000000000..8004498b8ba8
--- /dev/null
+++ b/dev-lang/execline/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <longdescription lang="en">
+ Execline is a non-interactive scripting language similar to sh.
+ According to the home page, the syntax is far mor logical and
+ predictable than sh, and has no security issues.
+ </longdescription>
+</pkgmetadata>