summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2013-08-07 09:46:39 +0000
committerRichard Yao <ryao@gentoo.org>2013-08-07 09:46:39 +0000
commit77040b4f96504717594ecda3921ff42e003a05a2 (patch)
treeb2dc51b021d49cca8624da06ddfef3ddc01cafc4 /app-arch/lz4
parentold (diff)
downloadgentoo-2-77040b4f96504717594ecda3921ff42e003a05a2.tar.gz
gentoo-2-77040b4f96504717594ecda3921ff42e003a05a2.tar.bz2
gentoo-2-77040b4f96504717594ecda3921ff42e003a05a2.zip
New package: app-arch/lz4
(Portage version: 2.2.0_alpha194/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64)
Diffstat (limited to 'app-arch/lz4')
-rw-r--r--app-arch/lz4/ChangeLog8
-rw-r--r--app-arch/lz4/lz4-9999.ebuild41
-rw-r--r--app-arch/lz4/metadata.xml8
3 files changed, 57 insertions, 0 deletions
diff --git a/app-arch/lz4/ChangeLog b/app-arch/lz4/ChangeLog
new file mode 100644
index 000000000000..769f51bff3ce
--- /dev/null
+++ b/app-arch/lz4/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-arch/lz4
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/ChangeLog,v 1.1 2013/08/07 09:46:39 ryao Exp $
+
+*lz4-9999 (07 Aug 2013)
+
+ 07 Aug 2013; Richard Yao <ryao@gentoo.org> +lz4-9999.ebuild, +metadata.xml:
+ New package: app-arch/lz4
diff --git a/app-arch/lz4/lz4-9999.ebuild b/app-arch/lz4/lz4-9999.ebuild
new file mode 100644
index 000000000000..a1fa5b4b2a43
--- /dev/null
+++ b/app-arch/lz4/lz4-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/lz4-9999.ebuild,v 1.1 2013/08/07 09:46:39 ryao Exp $
+
+EAPI=4
+
+inherit cmake-utils subversion
+
+DESCRIPTION="Extremely Fast Compression algorithm"
+HOMEPAGE="https://code.google.com/p/lz4/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://lz4.googlecode.com/svn/trunk/"
+ESVN_PROJECT="lz4-read-only"
+BUILD_DIR="${S}/cmake"
+PREFIX="/usr/bin"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ subversion_src_prepare
+
+ mv "${S}/cmake/"* "${S}"
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if [ -f "${S}/usr/bin/lz4c64" ]
+ then
+ dosym /usr/bin/{lz4c64,lz4c}
+ else
+ dosym /usr/bin/{lz4c32,lz4c}
+ fi
+}
diff --git a/app-arch/lz4/metadata.xml b/app-arch/lz4/metadata.xml
new file mode 100644
index 000000000000..e63e3c3865da
--- /dev/null
+++ b/app-arch/lz4/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>ryao@gentoo.org</email>
+ <name>Richard Yao</name>
+ </maintainer>
+</pkgmetadata>