parent
1b4f915820
commit
fbf2df78d7
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit fixheadtails autotools eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="A flexible and fast logfile colorizer"
|
||||
HOMEPAGE="https://dev.gentoo.org/~joker/ccze/ccze.txt"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libpcre
|
||||
sys-libs/ncurses"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/ccze-fbsd.patch
|
||||
"${FILESDIR}"/ccze-segfault.patch
|
||||
"${FILESDIR}"/ccze-ldflags.patch
|
||||
"${FILESDIR}"/${P}-tinfo.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# GCC 4.x fixes
|
||||
sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \
|
||||
-i src/Makefile.in || die
|
||||
sed -e '/AC_CHECK_TYPE(error_t, int)/d' \
|
||||
-i configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
|
||||
ht_fix_file Rules.mk.in
|
||||
|
||||
tc-export CC
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
inherit python-r1
|
||||
|
||||
DESCRIPTION="Enhanced df with colors"
|
||||
HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/"
|
||||
SRC_URI="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s:/etc/pydfrc:${EPREFIX}/etc/pydfrc:" pydf || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_doscript pydf
|
||||
insinto /etc
|
||||
doins pydfrc
|
||||
doman pydf.1
|
||||
dodoc README
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="Files which haven't been accessed in a given period of time are removed from specified directories"
|
||||
HOMEPAGE="https://fedorahosted.org/tmpwatch/"
|
||||
SRC_URI="https://fedorahosted.org/releases/t/m/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="selinux? ( sec-policy/selinux-tmpreaper )"
|
||||
DEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-boottime.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dosbin tmpwatch
|
||||
doman tmpwatch.8
|
||||
|
||||
exeinto /etc/cron.daily
|
||||
newexe "${FILESDIR}/${PN}.cron" "${PN}"
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
DIST zpaq653.zip 536808 SHA256 295e4e491958c222bf51a30d36eb2d013a6f427422b91ee9d5be7f1c332590b3 SHA512 7999f0e35e8b0f46b586e5a0f5346b3501f21ab39fa25d57b9bdf5b87eee16d9e846f6b60fc7c447195bbdd0345ec4e220606d8c100167611231afe36f5558ed WHIRLPOOL 9d66fc51d2d48df1853c68686a65bc492756e11378c8e9075d6c976f11e69941fe52405ce66a57497fcde0524879ce04ef0430df3ff84da28e7d2f9d2cc70034
|
||||
DIST zpaq704.zip 630426 SHA256 21b595f8452b32c780f6ff29e0fc716cdf3595338774e1f72d4d4b5df212da39 SHA512 2655febd6e1352858c4daa7abe743c77e2b4b554b6c5961e1dde2c4011b1b4dd647decf60b7a86585eb5a1606253789afb85551923c6f542cf31dfecd984eaaa WHIRLPOOL 8a4ff4dd0c9e53d2f4a85c600537d83d7876f24ba4d4371d5a647d873c5ecc92ed80626f7abc3127f62346a1ffa69bc88172366a4fe4e0ea4236086c55a5ee72
|
||||
DIST zpaq713.zip 829863 SHA256 9120cf4fb1afdecea3ac4f690d7b0577f7cb004ca6b152856edd8ac444f0d919 SHA512 93ef758e9c6c13f4cc89b1969fce3630132c941ee5076959c3a7988b28e12530346c5b489837af9187937be35129bde0c9cf0e8aa8bf326799c893ef9fc74f5f WHIRLPOOL 494c3b9a6e6e0f50cecaf2630bcb4c9edd2433c128c13a1fc7a31d1695cbfbfadeda68f7fa2bd0023a0854d8548221ee52a1c218755b4a5a10b695db6b5a142d
|
@ -1,50 +0,0 @@
|
||||
From 0f4930dd8bdc1bb67c197fd3cdc3d8d832323209 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Thu, 6 Jan 2011 17:30:56 +0100
|
||||
Subject: [PATCH] Add autotools files.
|
||||
|
||||
Now with libtool support!
|
||||
---
|
||||
Makefile.am | 5 +++++
|
||||
configure.ac | 17 +++++++++++++++++
|
||||
2 files changed, 22 insertions(+)
|
||||
create mode 100644 Makefile.am
|
||||
create mode 100644 configure.ac
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
new file mode 100644
|
||||
index 0000000..c60308f
|
||||
--- /dev/null
|
||||
+++ b/Makefile.am
|
||||
@@ -0,0 +1,5 @@
|
||||
+lib_LTLIBRARIES = libzpaq.la
|
||||
+include_HEADERS = libzpaq.h
|
||||
+
|
||||
+libzpaq_la_SOURCES = libzpaq.cpp libzpaq.h
|
||||
+libzpaq_la_LDFLAGS = -version-info @ABI_VERSION@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
new file mode 100644
|
||||
index 0000000..4118d18
|
||||
--- /dev/null
|
||||
+++ b/configure.ac
|
||||
@@ -0,0 +1,17 @@
|
||||
+AC_PREREQ([2.60])
|
||||
+AC_INIT([libzpaq], [na])
|
||||
+AC_CONFIG_AUX_DIR([build-aux])
|
||||
+AM_INIT_AUTOMAKE([1.6 foreign no-dependencies])
|
||||
+
|
||||
+LT_INIT([disable-static])
|
||||
+AC_PROG_CXX
|
||||
+
|
||||
+AC_ARG_WITH([library-version],
|
||||
+ [AS_HELP_STRING([--with-library-version=<VERSION>],
|
||||
+ [Set library libtool version])],, [
|
||||
+ AC_MSG_ERROR([--with-library-version not set])
|
||||
+])
|
||||
+AC_SUBST([ABI_VERSION], [$with_library_version])
|
||||
+
|
||||
+AC_CONFIG_FILES([Makefile])
|
||||
+AC_OUTPUT
|
||||
--
|
||||
1.9.0
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils flag-o-matic eutils
|
||||
|
||||
MY_P=zpaq${PV/./}
|
||||
DESCRIPTION="Library to compress files in the ZPAQ format"
|
||||
HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
|
||||
SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
|
||||
|
||||
LICENSE="zpaq"
|
||||
SLOT="0/4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +jit static-libs"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_OPTS+=-p1 epatch "${FILESDIR}"/0001-Add-autotools-files.patch
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-library-version=5:1:1
|
||||
)
|
||||
|
||||
use debug || append-cppflags -DNDEBUG
|
||||
use jit || append-cppflags -DNOJIT
|
||||
append-cppflags -Dunix
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils flag-o-matic eutils
|
||||
|
||||
MY_P=zpaq${PV/./}
|
||||
DESCRIPTION="Library to compress files in the ZPAQ format"
|
||||
HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
|
||||
SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
|
||||
|
||||
LICENSE="zpaq"
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +jit static-libs"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_OPTS+=-p1 epatch "${FILESDIR}"/0001-Add-autotools-files.patch
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-library-version=6:0:0
|
||||
)
|
||||
|
||||
use debug || append-cppflags -DNDEBUG
|
||||
use jit || append-cppflags -DNOJIT
|
||||
append-cppflags -Dunix
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
MY_P=zpaq${PV/./}
|
||||
DESCRIPTION="Library to compress files in the ZPAQ format"
|
||||
HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
|
||||
SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
|
||||
|
||||
LICENSE="zpaq"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +jit"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_compile() {
|
||||
use debug || append-cppflags -DNDEBUG
|
||||
use jit || append-cppflags -DNOJIT
|
||||
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" libzpaq.so
|
||||
}
|
||||
|
||||
src_test() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# there's a common 'install' target for lib and cli
|
||||
dolib libzpaq.so*
|
||||
doheader libzpaq.h
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mgorny@gentoo.org</email>
|
||||
<name>Michał Górny</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="jit">Enable just-in-time compilation for faster
|
||||
compression (requires SSE2)</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,3 +1 @@
|
||||
DIST zpaq653.zip 536808 SHA256 295e4e491958c222bf51a30d36eb2d013a6f427422b91ee9d5be7f1c332590b3 SHA512 7999f0e35e8b0f46b586e5a0f5346b3501f21ab39fa25d57b9bdf5b87eee16d9e846f6b60fc7c447195bbdd0345ec4e220606d8c100167611231afe36f5558ed WHIRLPOOL 9d66fc51d2d48df1853c68686a65bc492756e11378c8e9075d6c976f11e69941fe52405ce66a57497fcde0524879ce04ef0430df3ff84da28e7d2f9d2cc70034
|
||||
DIST zpaq704.zip 630426 SHA256 21b595f8452b32c780f6ff29e0fc716cdf3595338774e1f72d4d4b5df212da39 SHA512 2655febd6e1352858c4daa7abe743c77e2b4b554b6c5961e1dde2c4011b1b4dd647decf60b7a86585eb5a1606253789afb85551923c6f542cf31dfecd984eaaa WHIRLPOOL 8a4ff4dd0c9e53d2f4a85c600537d83d7876f24ba4d4371d5a647d873c5ecc92ed80626f7abc3127f62346a1ffa69bc88172366a4fe4e0ea4236086c55a5ee72
|
||||
DIST zpaq713.zip 829863 SHA256 9120cf4fb1afdecea3ac4f690d7b0577f7cb004ca6b152856edd8ac444f0d919 SHA512 93ef758e9c6c13f4cc89b1969fce3630132c941ee5076959c3a7988b28e12530346c5b489837af9187937be35129bde0c9cf0e8aa8bf326799c893ef9fc74f5f WHIRLPOOL 494c3b9a6e6e0f50cecaf2630bcb4c9edd2433c128c13a1fc7a31d1695cbfbfadeda68f7fa2bd0023a0854d8548221ee52a1c218755b4a5a10b695db6b5a142d
|
||||
|
@ -1,307 +0,0 @@
|
||||
From 0120bcc43898ebc26af64befabc5552b31fa2992 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Tue, 4 Jan 2011 21:04:53 +0100
|
||||
Subject: [PATCH] Add autotools files.
|
||||
|
||||
---
|
||||
Makefile.am | 7 ++
|
||||
configure.ac | 19 +++++
|
||||
m4/ax_pthread.m4 | 246 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
3 files changed, 272 insertions(+)
|
||||
create mode 100644 Makefile.am
|
||||
create mode 100644 configure.ac
|
||||
create mode 100644 m4/ax_pthread.m4
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
new file mode 100644
|
||||
index 0000000..c1135e5
|
||||
--- /dev/null
|
||||
+++ b/Makefile.am
|
||||
@@ -0,0 +1,7 @@
|
||||
+bin_PROGRAMS = zpaq
|
||||
+
|
||||
+ACLOCAL_AMFLAGS = -I m4
|
||||
+
|
||||
+zpaq_SOURCES = zpaq.cpp
|
||||
+zpaq_CXXFLAGS = $(PTHREAD_CFLAGS) $(LIBDIVSUFSORT_CFLAGS)
|
||||
+zpaq_LDADD = -lzpaq $(LIBDIVSUFSORT_LIBS)
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
new file mode 100644
|
||||
index 0000000..d0f5bb2
|
||||
--- /dev/null
|
||||
+++ b/configure.ac
|
||||
@@ -0,0 +1,19 @@
|
||||
+AC_PREREQ([2.60])
|
||||
+AC_INIT([zpaq], [na])
|
||||
+AC_CONFIG_AUX_DIR([build-aux])
|
||||
+AM_INIT_AUTOMAKE([1.6 foreign no-dependencies])
|
||||
+
|
||||
+AC_LANG([C++])
|
||||
+AC_PROG_CXX
|
||||
+ACX_PTHREAD
|
||||
+PKG_CHECK_MODULES([LIBDIVSUFSORT], [libdivsufsort])
|
||||
+
|
||||
+AC_ARG_ENABLE([debug],
|
||||
+ [AS_HELP_STRING([--enable-debug],
|
||||
+ [Enable debug])])
|
||||
+AS_IF([test x"$enable_debug" = x"yes"], [
|
||||
+ AC_DEFINE([DEBUG], [1], [Set this to enable debug])
|
||||
+])
|
||||
+
|
||||
+AC_CONFIG_FILES([Makefile])
|
||||
+AC_OUTPUT
|
||||
diff --git a/m4/ax_pthread.m4 b/m4/ax_pthread.m4
|
||||
new file mode 100644
|
||||
index 0000000..3d0806d
|
||||
--- /dev/null
|
||||
+++ b/m4/ax_pthread.m4
|
||||
@@ -0,0 +1,246 @@
|
||||
+# note: dropped PTHREAD_CC, joinable and stuff
|
||||
+
|
||||
+# ===========================================================================
|
||||
+# http://www.gnu.org/software/autoconf-archive/ax_pthread.html
|
||||
+# ===========================================================================
|
||||
+#
|
||||
+# SYNOPSIS
|
||||
+#
|
||||
+# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
|
||||
+#
|
||||
+# DESCRIPTION
|
||||
+#
|
||||
+# This macro figures out how to build C programs using POSIX threads. It
|
||||
+# sets the PTHREAD_LIBS output variable to the threads library and linker
|
||||
+# flags, and the PTHREAD_CFLAGS output variable to any special C compiler
|
||||
+# flags that are needed. (The user can also force certain compiler
|
||||
+# flags/libs to be tested by setting these environment variables.)
|
||||
+#
|
||||
+# Also sets PTHREAD_CC to any special C compiler that is needed for
|
||||
+# multi-threaded programs (defaults to the value of CC otherwise). (This
|
||||
+# is necessary on AIX to use the special cc_r compiler alias.)
|
||||
+#
|
||||
+# NOTE: You are assumed to not only compile your program with these flags,
|
||||
+# but also link it with them as well. e.g. you should link with
|
||||
+# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
|
||||
+#
|
||||
+# If you are only building threads programs, you may wish to use these
|
||||
+# variables in your default LIBS, CFLAGS, and CC:
|
||||
+#
|
||||
+# LIBS="$PTHREAD_LIBS $LIBS"
|
||||
+# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
+# CC="$PTHREAD_CC"
|
||||
+#
|
||||
+# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
|
||||
+# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
|
||||
+# (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
|
||||
+#
|
||||
+# Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
|
||||
+# PTHREAD_PRIO_INHERIT symbol is defined when compiling with
|
||||
+# PTHREAD_CFLAGS.
|
||||
+#
|
||||
+# ACTION-IF-FOUND is a list of shell commands to run if a threads library
|
||||
+# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
|
||||
+# is not found. If ACTION-IF-FOUND is not specified, the default action
|
||||
+# will define HAVE_PTHREAD.
|
||||
+#
|
||||
+# Please let the authors know if this macro fails on any platform, or if
|
||||
+# you have any other suggestions or comments. This macro was based on work
|
||||
+# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
|
||||
+# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
|
||||
+# Alejandro Forero Cuervo to the autoconf macro repository. We are also
|
||||
+# grateful for the helpful feedback of numerous users.
|
||||
+#
|
||||
+# Updated for Autoconf 2.68 by Daniel Richard G.
|
||||
+#
|
||||
+# LICENSE
|
||||
+#
|
||||
+# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
|
||||
+# Copyright (c) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
|
||||
+#
|
||||
+# This program is free software: you can redistribute it and/or modify it
|
||||
+# under the terms of the GNU General Public License as published by the
|
||||
+# Free Software Foundation, either version 3 of the License, or (at your
|
||||
+# option) any later version.
|
||||
+#
|
||||
+# This program is distributed in the hope that it will be useful, but
|
||||
+# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
+# Public License for more details.
|
||||
+#
|
||||
+# You should have received a copy of the GNU General Public License along
|
||||
+# with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
+#
|
||||
+# As a special exception, the respective Autoconf Macro's copyright owner
|
||||
+# gives unlimited permission to copy, distribute and modify the configure
|
||||
+# scripts that are the output of Autoconf when processing the Macro. You
|
||||
+# need not follow the terms of the GNU General Public License when using
|
||||
+# or distributing such scripts, even though portions of the text of the
|
||||
+# Macro appear in them. The GNU General Public License (GPL) does govern
|
||||
+# all other use of the material that constitutes the Autoconf Macro.
|
||||
+#
|
||||
+# This special exception to the GPL applies to versions of the Autoconf
|
||||
+# Macro released by the Autoconf Archive. When you make and distribute a
|
||||
+# modified version of the Autoconf Macro, you may extend this special
|
||||
+# exception to the GPL to apply to your modified version as well.
|
||||
+
|
||||
+#serial 16
|
||||
+
|
||||
+AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
|
||||
+AC_DEFUN([AX_PTHREAD], [
|
||||
+AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
+AC_LANG_PUSH([C])
|
||||
+ax_pthread_ok=no
|
||||
+
|
||||
+# We used to check for pthread.h first, but this fails if pthread.h
|
||||
+# requires special compiler flags (e.g. on True64 or Sequent).
|
||||
+# It gets checked for in the link test anyway.
|
||||
+
|
||||
+# First of all, check if the user has set any of the PTHREAD_LIBS,
|
||||
+# etcetera environment variables, and if threads linking works using
|
||||
+# them:
|
||||
+if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
|
||||
+ save_CFLAGS="$CFLAGS"
|
||||
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
+ save_LIBS="$LIBS"
|
||||
+ LIBS="$PTHREAD_LIBS $LIBS"
|
||||
+ AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
|
||||
+ AC_TRY_LINK_FUNC(pthread_join, ax_pthread_ok=yes)
|
||||
+ AC_MSG_RESULT($ax_pthread_ok)
|
||||
+ if test x"$ax_pthread_ok" = xno; then
|
||||
+ PTHREAD_LIBS=""
|
||||
+ PTHREAD_CFLAGS=""
|
||||
+ fi
|
||||
+ LIBS="$save_LIBS"
|
||||
+ CFLAGS="$save_CFLAGS"
|
||||
+fi
|
||||
+
|
||||
+# We must check for the threads library under a number of different
|
||||
+# names; the ordering is very important because some systems
|
||||
+# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
|
||||
+# libraries is broken (non-POSIX).
|
||||
+
|
||||
+# Create a list of thread flags to try. Items starting with a "-" are
|
||||
+# C compiler flags, and other items are library names, except for "none"
|
||||
+# which indicates that we try without any flags at all, and "pthread-config"
|
||||
+# which is a program returning the flags for the Pth emulation library.
|
||||
+
|
||||
+ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
|
||||
+
|
||||
+# The ordering *is* (sometimes) important. Some notes on the
|
||||
+# individual items follow:
|
||||
+
|
||||
+# pthreads: AIX (must check this before -lpthread)
|
||||
+# none: in case threads are in libc; should be tried before -Kthread and
|
||||
+# other compiler flags to prevent continual compiler warnings
|
||||
+# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
|
||||
+# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
|
||||
+# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
|
||||
+# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
|
||||
+# -pthreads: Solaris/gcc
|
||||
+# -mthreads: Mingw32/gcc, Lynx/gcc
|
||||
+# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
|
||||
+# doesn't hurt to check since this sometimes defines pthreads too;
|
||||
+# also defines -D_REENTRANT)
|
||||
+# ... -mt is also the pthreads flag for HP/aCC
|
||||
+# pthread: Linux, etcetera
|
||||
+# --thread-safe: KAI C++
|
||||
+# pthread-config: use pthread-config program (for GNU Pth library)
|
||||
+
|
||||
+case "${host_cpu}-${host_os}" in
|
||||
+ *solaris*)
|
||||
+
|
||||
+ # On Solaris (at least, for some versions), libc contains stubbed
|
||||
+ # (non-functional) versions of the pthreads routines, so link-based
|
||||
+ # tests will erroneously succeed. (We need to link with -pthreads/-mt/
|
||||
+ # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
|
||||
+ # a function called by this macro, so we could check for that, but
|
||||
+ # who knows whether they'll stub that too in a future libc.) So,
|
||||
+ # we'll just look for -pthreads and -lpthread first:
|
||||
+
|
||||
+ ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
|
||||
+ ;;
|
||||
+
|
||||
+ *-darwin*)
|
||||
+ ax_pthread_flags="-pthread $ax_pthread_flags"
|
||||
+ ;;
|
||||
+esac
|
||||
+
|
||||
+if test x"$ax_pthread_ok" = xno; then
|
||||
+for flag in $ax_pthread_flags; do
|
||||
+
|
||||
+ case $flag in
|
||||
+ none)
|
||||
+ AC_MSG_CHECKING([whether pthreads work without any flags])
|
||||
+ ;;
|
||||
+
|
||||
+ -*)
|
||||
+ AC_MSG_CHECKING([whether pthreads work with $flag])
|
||||
+ PTHREAD_CFLAGS="$flag"
|
||||
+ ;;
|
||||
+
|
||||
+ pthread-config)
|
||||
+ AC_CHECK_PROG(ax_pthread_config, pthread-config, yes, no)
|
||||
+ if test x"$ax_pthread_config" = xno; then continue; fi
|
||||
+ PTHREAD_CFLAGS="`pthread-config --cflags`"
|
||||
+ PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
|
||||
+ ;;
|
||||
+
|
||||
+ *)
|
||||
+ AC_MSG_CHECKING([for the pthreads library -l$flag])
|
||||
+ PTHREAD_LIBS="-l$flag"
|
||||
+ ;;
|
||||
+ esac
|
||||
+
|
||||
+ save_LIBS="$LIBS"
|
||||
+ save_CFLAGS="$CFLAGS"
|
||||
+ LIBS="$PTHREAD_LIBS $LIBS"
|
||||
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
||||
+
|
||||
+ # Check for various functions. We must include pthread.h,
|
||||
+ # since some functions may be macros. (On the Sequent, we
|
||||
+ # need a special flag -Kthread to make this header compile.)
|
||||
+ # We check for pthread_join because it is in -lpthread on IRIX
|
||||
+ # while pthread_create is in libc. We check for pthread_attr_init
|
||||
+ # due to DEC craziness with -lpthreads. We check for
|
||||
+ # pthread_cleanup_push because it is one of the few pthread
|
||||
+ # functions on Solaris that doesn't have a non-functional libc stub.
|
||||
+ # We try pthread_create on general principles.
|
||||
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
|
||||
+ static void routine(void *a) { a = 0; }
|
||||
+ static void *start_routine(void *a) { return a; }],
|
||||
+ [pthread_t th; pthread_attr_t attr;
|
||||
+ pthread_create(&th, 0, start_routine, 0);
|
||||
+ pthread_join(th, 0);
|
||||
+ pthread_attr_init(&attr);
|
||||
+ pthread_cleanup_push(routine, 0);
|
||||
+ pthread_cleanup_pop(0) /* ; */])],
|
||||
+ [ax_pthread_ok=yes],
|
||||
+ [])
|
||||
+
|
||||
+ LIBS="$save_LIBS"
|
||||
+ CFLAGS="$save_CFLAGS"
|
||||
+
|
||||
+ AC_MSG_RESULT($ax_pthread_ok)
|
||||
+ if test "x$ax_pthread_ok" = xyes; then
|
||||
+ break;
|
||||
+ fi
|
||||
+
|
||||
+ PTHREAD_LIBS=""
|
||||
+ PTHREAD_CFLAGS=""
|
||||
+done
|
||||
+fi
|
||||
+
|
||||
+AC_SUBST(PTHREAD_LIBS)
|
||||
+AC_SUBST(PTHREAD_CFLAGS)
|
||||
+
|
||||
+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
||||
+if test x"$ax_pthread_ok" = xyes; then
|
||||
+ ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
|
||||
+ :
|
||||
+else
|
||||
+ ax_pthread_ok=no
|
||||
+ $2
|
||||
+fi
|
||||
+AC_LANG_POP
|
||||
+])dnl AX_PTHREAD
|
||||
--
|
||||
1.9.0
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils eutils flag-o-matic
|
||||
|
||||
MY_P=${PN}${PV/./}
|
||||
DESCRIPTION="Journaling incremental deduplicating archiving compressor"
|
||||
HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
|
||||
SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="~app-arch/libzpaq-${PV}
|
||||
dev-libs/libdivsufsort"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_OPTS+=-p1 epatch "${FILESDIR}"/${PN}-4-autotools.patch
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable debug)
|
||||
)
|
||||
|
||||
append-cppflags -Dunix
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You may also want to install app-arch/zpaq-extras package which provides"
|
||||
elog "few additional configs and preprocessors for use with zpaq."
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils eutils flag-o-matic
|
||||
|
||||
MY_P=${PN}${PV/./}
|
||||
DESCRIPTION="Journaling incremental deduplicating archiving compressor"
|
||||
HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
|
||||
SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="~app-arch/libzpaq-${PV}
|
||||
dev-libs/libdivsufsort"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_OPTS+=-p1 epatch "${FILESDIR}"/${PN}-4-autotools.patch
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable debug)
|
||||
)
|
||||
|
||||
append-cppflags -Dunix
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You may also want to install app-arch/zpaq-extras package which provides"
|
||||
elog "few additional configs and preprocessors for use with zpaq."
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_P=${PN}${PV/./}
|
||||
DESCRIPTION="Journaling incremental deduplicating archiving compressor"
|
||||
HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
|
||||
SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="~app-arch/libzpaq-${PV}"
|
||||
# perl for pod2man
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
dev-lang/perl"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_compile() {
|
||||
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" zpaq.o zpaq.1
|
||||
# link manually to use shared library
|
||||
emake -f /dev/null CC="$(tc-getCXX)" LDLIBS="-lzpaq -pthread" zpaq
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# no idea why the 'test' needs that
|
||||
touch libzpaq.so libzpaq.so.1 || die
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin zpaq
|
||||
doman zpaq.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version app-arch/zpaq-extras; then
|
||||
elog "You may also want to install app-arch/zpaq-extras package which provides"
|
||||
elog "few additional configs and preprocessors for use with zpaq."
|
||||
fi
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Measure the read time per sector on CD or DVD to check the quality"
|
||||
HOMEPAGE="http://swaj.net/unix/index.html#cdck"
|
||||
SRC_URI="http://swaj.net/unix/cdck/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e '1d' -i man/cdck_man.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-dependency-tracking \
|
||||
--disable-shared
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dobin src/cdck
|
||||
doman man/cdck.1
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
--- a/src/io.c.last So. Jan 24 19:18:45 2010
|
||||
+++ b/src/io.c Fr. Jul 16 10:59:32 2010
|
||||
@@ -3202,6 +3202,8 @@
|
||||
close(fd2[1]);
|
||||
}
|
||||
|
||||
+ g_setenv("LC_ALL", "C", TRUE);
|
||||
+
|
||||
/* startup child */
|
||||
if (execl("/bin/sh", "sh", "-c", cmd ,(void *)NULL) < 0) {
|
||||
g_error("execl error\n");
|
||||
@@ -3402,6 +3404,8 @@
|
||||
close(fd3[1]);
|
||||
}
|
||||
|
||||
+ g_setenv("LC_ALL", "C", TRUE);
|
||||
+
|
||||
/* startup child */
|
||||
if (execv(callpath,arglist) < 0) {
|
||||
g_error("execv error\n");
|
||||
@@ -3506,6 +3510,8 @@
|
||||
close(pipefd[1]);
|
||||
}
|
||||
|
||||
+ g_setenv("LC_ALL", "C", TRUE);
|
||||
+
|
||||
/* startup first child */
|
||||
if (execv(callpath,arglist) < 0) {
|
||||
g_error("execv error\n");
|
||||
@@ -3568,6 +3574,8 @@
|
||||
close(fd3[1]);
|
||||
}
|
||||
|
||||
+ g_setenv("LC_ALL", "C", TRUE);
|
||||
+
|
||||
/* startup second child */
|
||||
if (execv(callpath2,arglist2) < 0) {
|
||||
g_error("execv error\n");
|
||||
|
@ -0,0 +1,36 @@
|
||||
diff -Naurd xcdroast-0.98alpha16.orig/doc/README.nonroot xcdroast-0.98alpha16/doc/README.nonroot
|
||||
--- xcdroast-0.98alpha16.orig/doc/README.nonroot 2003-10-27 23:37:40.000000000 +0300
|
||||
+++ xcdroast-0.98alpha16/doc/README.nonroot 2016-07-07 21:32:35.006587826 +0300
|
||||
@@ -72,7 +72,7 @@
|
||||
Please change now to the corresponding directory and enter:
|
||||
|
||||
chown root xcdrwrap
|
||||
- chmod 4755 xcdrwrap
|
||||
+ chmod 4711 xcdrwrap
|
||||
|
||||
|
||||
Usage of the non-root-mode
|
||||
diff -Naurd xcdroast-0.98alpha16.orig/src/init.c xcdroast-0.98alpha16/src/init.c
|
||||
--- xcdroast-0.98alpha16.orig/src/init.c 2008-08-20 20:20:23.000000000 +0400
|
||||
+++ xcdroast-0.98alpha16/src/init.c 2016-07-07 21:32:35.006587826 +0300
|
||||
@@ -670,7 +670,7 @@
|
||||
|
||||
/* check file mode of wrapper */
|
||||
if (stat(tmp,&buf) == 0) {
|
||||
- if (buf.st_mode != 0104755) {
|
||||
+ if (buf.st_mode != 0104711) {
|
||||
dodebug(3,"Note: %s wrong modes set (0%o)\n", tmp, buf.st_mode);
|
||||
nofail = 0;
|
||||
}
|
||||
diff -Naurd xcdroast-0.98alpha16.orig/src/io.c xcdroast-0.98alpha16/src/io.c
|
||||
--- xcdroast-0.98alpha16.orig/src/io.c 2008-08-21 17:11:40.000000000 +0400
|
||||
+++ xcdroast-0.98alpha16/src/io.c 2016-07-07 21:32:35.003587931 +0300
|
||||
@@ -10380,7 +10380,7 @@
|
||||
strcat(ret,tmp);
|
||||
#endif
|
||||
/* old nonroot mode - 2755 */
|
||||
- g_snprintf(tmp,MAXLINE,"%s 4755 %s\n", cmd_chmod, bin);
|
||||
+ g_snprintf(tmp,MAXLINE,"%s 4711 %s\n", cmd_chmod, bin);
|
||||
strcat(ret,tmp);
|
||||
|
||||
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit gnome2-utils
|
||||
|
||||
DESCRIPTION="Lightweight cdrtools front-end for CD and DVD writing"
|
||||
HOMEPAGE="http://www.xcdroast.org/"
|
||||
SRC_URI="mirror://sourceforge/xcdroast/${P/_/}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2:2
|
||||
app-cdr/cdrtools"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P/_/}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/cdda2wav_version.patch
|
||||
"${FILESDIR}"/fix_cddb_hidden_tracks.patch
|
||||
"${FILESDIR}"/io_compile.patch
|
||||
"${FILESDIR}"/io_progressbar_fix.patch
|
||||
"${FILESDIR}"/suid-perms.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# fix Norwegian locales
|
||||
mv po/{no,nb}.po || die
|
||||
mv po/{no,nb}.gmo || die
|
||||
sed -i -e 's/no/nb/' po/LINGUAS || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
--enable-gtk2 \
|
||||
--disable-dependency-tracking \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake PREFIX=/usr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX=/usr DESTDIR="${D}" install
|
||||
dodoc -r AUTHORS ChangeLog README doc/*
|
||||
|
||||
insinto /usr/share/icons/hicolor/48x48/apps
|
||||
newins xpms/xcdricon.xpm xcdroast.xpm
|
||||
|
||||
make_desktop_entry xcdroast "X-CD-Roast" xcdroast "AudioVideo;DiscBurning"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="ncurses based password database client compatible with KeePass 1.x databases"
|
||||
HOMEPAGE="http://ckpass.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=dev-libs/libkpass-6"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-tinfo.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST xca-1.1.0.tar.gz 854925 SHA256 997b62b523f6581f0d96a5f5ba2fa31dcdd2b3cf1ffe924f5c69a931b0dd44df SHA512 c22a594c61f63c71e8bc7c38ccdfabe05903a33bf5116630ca4c5072b725e551a128b10f624d01a464695d739fb9d77a510b3ced99fedc5d5378cb5fd563d954 WHIRLPOOL 1b58ec3dce44e0eb101265f7b1e68695ea2121c795f7d5f6a5349c812469c50f618ce34a5985991432b49a910b2c34fd3eb8e88ac735078a6e063801f1731be0
|
||||
DIST xca-1.3.2.tar.gz 897947 SHA256 04f11f2148c8369c1a1b4e109956ed8cc807ec266d0d936410624ba8ee4b5ce4 SHA512 f0a9c4d47f0c20632f44364cc55293a7d2152772a746a72bc4a46622da4e48ae612bafe918c098a71c29cdfca8e6c03c27cf85a862ca0f356eddf061414c89b2 WHIRLPOOL 11a19800447fe939d1684524c4c0da90dc8dde4dfce4ff8f606d384f976b0d6f067e8455e3a90facfbf99a1cc651affdffa9397a9a8191f1fc8d302944ea730a
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests and revokation lists"
|
||||
HOMEPAGE="http://xca.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="bindist"
|
||||
|
||||
RDEPEND=">=dev-libs/openssl-0.9.8:*[bindist=]
|
||||
dev-qt/qtgui:4"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0-desktop.patch
|
||||
epatch "${FILESDIR}"/${P}-ec.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
STRIP=true
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# enforce all to avoid the automatic silent rules
|
||||
emake all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# non standard destdir
|
||||
emake install destdir="${ED}"
|
||||
|
||||
insinto /etc/xca
|
||||
doins misc/*.txt
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A many featured astrology chart calculation program"
|
||||
HOMEPAGE="http://www.astrolog.org/astrolog.htm"
|
||||
SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr"
|
||||
|
||||
LICENSE="astrolog"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="X"
|
||||
|
||||
DEPEND="X? ( x11-libs/libX11 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
sh "${DISTDIR}"/ast54unx.shr || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove stripping of created binary, dump hardcoded CFLAGS,
|
||||
# respect CC (bug #243606), and CFLAGS (bug #240057)
|
||||
sed \
|
||||
-e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \
|
||||
-e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \
|
||||
-i Makefile || die
|
||||
|
||||
# we use /usr/share/astrolog for config and (optional) ephemeris-data-files
|
||||
sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die
|
||||
|
||||
# if we use X, we need to add -L/usr/X11R6/lib to compile succesful
|
||||
#use X && sed -i -e "s:-lm -lX11:-lm -lX11 -L/usr/X11R6/lib:g" Makefile
|
||||
|
||||
# if we do NOT use X, we disable it by removing the -lX11 from the Makefile
|
||||
# and remove the "#define X11" and "#define MOUSE" from astrolog.h
|
||||
use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile || die
|
||||
sed -i -e "s:#define X11:/*#define X11:g" astrolog.h || die
|
||||
sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h || die)
|
||||
|
||||
# any user may have an own astrolog configfile
|
||||
#sed -i -e "s:astrolog.dat:astrolog.dat:g" astrolog.h || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin astrolog
|
||||
dodoc Helpfile.540 README.1ST README.540 Update.540
|
||||
insinto /usr/share/astrolog
|
||||
doins astrolog.dat
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "There is a sample config file /usr/share/astrolog/astrolog.dat"
|
||||
elog "astrolog looks in current dir for a file astrolog.dat before"
|
||||
elog "using the file in /usr/share/astrolog"
|
||||
elog "If you want extended accuracy of astrolog's calculations you"
|
||||
elog "can emerge the optional package \"astrolog-ephemeris\" which"
|
||||
elog "needs ~4.7 MB additional diskspace for the ephemeris-files"
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2 python-single-r1
|
||||
|
||||
DESCRIPTION="Genealogical Research and Analysis Management Programming System"
|
||||
HOMEPAGE="http://www.gramps-project.org/"
|
||||
SRC_URI="mirror://sourceforge/gramps/Stable/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="gnome reports spell webkit"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/bsddb3[${PYTHON_USEDEP}]
|
||||
dev-python/pygoocanvas[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygtk-2.16.0[${PYTHON_USEDEP}]
|
||||
gnome-base/librsvg:2
|
||||
sci-geosciences/osm-gps-map
|
||||
x11-misc/xdg-utils
|
||||
gnome? (
|
||||
dev-python/gconf-python[${PYTHON_USEDEP}]
|
||||
dev-python/libgnome-python[${PYTHON_USEDEP}]
|
||||
)
|
||||
spell? ( dev-python/gtkspell-python[${PYTHON_USEDEP}] )
|
||||
reports? ( media-gfx/graphviz )
|
||||
webkit? ( dev-python/pywebkitgtk[${PYTHON_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/libiconv
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.4.0-use_bsddb3.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Fix install path, bug 423315 for example
|
||||
einfo "Fix installation path"
|
||||
find . -iname 'Makefile.in' | xargs \
|
||||
sed "s;\(pkgdatadir = \)\(\$(datadir)\);\1$(python_get_sitedir);" -i \
|
||||
|| die
|
||||
find . -iname 'Makefile.in' | xargs \
|
||||
sed "s;\(pkgpythondir = \)\(\$(datadir)\);\1$(python_get_sitedir);" -i \
|
||||
|| die
|
||||
|
||||
sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \
|
||||
-i src/Makefile.in || die
|
||||
|
||||
sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \
|
||||
-i src/docgen/Makefile.in || die
|
||||
|
||||
einfo "Fix wrapper script"
|
||||
sed "s;@datadir@;$(python_get_sitedir);" \
|
||||
-i gramps.sh.in || die
|
||||
|
||||
einfo "Fix icon location"
|
||||
sed "s;gramps/;pixmap/;g" -i data/gramps.keys.in || die
|
||||
|
||||
python_fix_shebang .
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-mime-install \
|
||||
PYTHON="${EROOT}"/usr/bin/python2
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST lirc-0.9.0.tar.bz2 857286 SHA256 6323afae6ad498d4369675f77ec3dbb680fe661bea586aa296e67f2e2daba4ff SHA512 e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431 WHIRLPOOL 0a1c00b07898aa7a5d78865fb73c6d26c6331dd0a4945773a801d29e40298b365eb58cae113a95fcf73be678a24ac082ad0868e8051303d732882fb82a859a7b
|
||||
DIST lirc-0.9.4.tar.bz2 2291164 SHA256 dd18a6751674fd61e4a96eebc3b9e5c883389d6230811943513443522dfc5dd0 SHA512 0220cfa0e1900691eed3d6b0624c27e0a99825cd60303304eee7c60e3ae1d8e939d05d32680da64cdbf764919708888ce05803e9ab2423f4bf019b4acd8542f1 WHIRLPOOL 83390295e55445f2d10372e1515b0163d5b3b1e9903f132e018d975d66998d98ffee1caaa1fe26577a0ce18fce20ec025fd5cc0aaf5074728269b12e84d55268
|
||||
DIST lirc-0.9.4a.tar.bz2 2292119 SHA256 386086a74c7d12e7e8f26f7dbc8f40d20b9968c9ad2a42599483a51dd2da03ba SHA512 16be0ac5dd9b07d717ceba63cdc38c0db4a2bdcfc373ca6346d7cd4ab2cd2973aa7585d10b045fcaea952a3aabf7617c564ccb8268db6c62b172683a4b2cc188 WHIRLPOOL 93431c43d2dd31081e97113e2d49134de7feb29be53508900b3360408f7a099becf169fcebd0f6fc196280c594dc83d1299617ee54b65452828492db9bcd09ad
|
||||
|
@ -0,0 +1,125 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic systemd
|
||||
|
||||
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
|
||||
HOMEPAGE="http://www.lirc.org/"
|
||||
|
||||
LIRC_DRIVER_DEVICE="/dev/lirc0"
|
||||
|
||||
MY_P=${PN}-${PV/_/}
|
||||
|
||||
if [[ "${PV/_pre/}" = "${PV}" ]]; then
|
||||
SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
|
||||
else
|
||||
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc static-libs X audio irman ftdi inputlirc iguanair systemd usb"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
iguanair? ( irman )
|
||||
"
|
||||
DEPEND="
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
)
|
||||
systemd? ( sys-apps/systemd )
|
||||
audio? (
|
||||
>media-libs/portaudio-18
|
||||
media-libs/alsa-lib
|
||||
)
|
||||
irman? ( media-libs/libirman )
|
||||
iguanair? ( app-misc/iguanaIR )
|
||||
ftdi? ( dev-embedded/libftdi:0 )
|
||||
inputlirc? ( app-misc/inputlircd )
|
||||
usb? ( virtual/libusb:0 )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
filter-flags -Wl,-O1
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
|
||||
newinitd "${FILESDIR}"/lircmd lircmd
|
||||
newconfd "${FILESDIR}"/lircd.conf.4 lircd
|
||||
|
||||
insinto /etc/modprobe.d/
|
||||
newins "${FILESDIR}"/modprobed.lirc lirc.conf
|
||||
|
||||
newinitd "${FILESDIR}"/irexec-initd irexec
|
||||
newconfd "${FILESDIR}"/irexec-confd irexec
|
||||
|
||||
if use doc ; then
|
||||
dodoc -r doc/html
|
||||
fi
|
||||
|
||||
keepdir /etc/lirc
|
||||
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
|
||||
fi
|
||||
|
||||
if ! use static-libs; then
|
||||
rm "${D}/usr/$(get_libdir)/liblirc_client.la" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
local dir="${EROOT}/etc/modprobe.d"
|
||||
if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
|
||||
elog "Renaming ${dir}/lirc to lirc.conf"
|
||||
mv -f "${dir}/lirc" "${dir}/lirc.conf" || die
|
||||
fi
|
||||
|
||||
# copy the first file that can be found
|
||||
if [[ -f "${EROOT}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
|
||||
elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
|
||||
cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf || die
|
||||
MOVE_OLD_LIRCD_CONF=1
|
||||
elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
|
||||
fi
|
||||
|
||||
# stop portage from touching the config file
|
||||
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||
rm -f "${D}"/etc/lirc/lircd.conf || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# copy config file to new location
|
||||
# without portage knowing about it
|
||||
# so it will not delete it on unmerge or ever touch it again
|
||||
if [[ -e "${T}"/lircd.conf ]]; then
|
||||
cp "${T}"/lircd.conf "${EROOT}"/etc/lirc/lircd.conf || die
|
||||
if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
|
||||
elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
|
||||
rm -f "${EROOT}"/etc/lircd.conf || die
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "The new default location for lircd.conf is inside of"
|
||||
einfo "/etc/lirc/ directory"
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Generate and install ebuilds from the TeXLive package manager"
|
||||
HOMEPAGE="https://launchpad.net/g-ctan"
|
||||
SRC_URI="https://launchpad.net/g-ctan/${PV/\.*/}/${PV}/+download/${P}.tar.bz2"
|
||||
LICENSE="GPL-3"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86"
|
||||
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND="~app-text/texlive-2011
|
||||
app-arch/xz-utils
|
||||
>=dev-libs/libpcre-0.7.6"
|
@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: fold creation utility"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=158"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-vim/genutils-2.0"
|
||||
|
||||
VIM_PLUGIN_HELPTEXT=\
|
||||
"This plugin provides a number of commands for working with folds:
|
||||
\ :FoldNonMatching [pattern] [context]
|
||||
\ :FoldShowLines {lines} [context]
|
||||
\ :FoldEndFolding"
|
@ -1,2 +1 @@
|
||||
DIST yankring-18.0.tar.bz2 36694 SHA256 b48b0a3515664d7d77c3fd142412ca5fb9f49ee18d1ece50572fab015c4417ed SHA512 5ae4310d3f8944f9e24afd6b5edbd54ecbdfe16cd8d0f5a2840023441ecc4cc2217e73ab54ece4be0e99f8921b67651b66e58d043afdf1454dd82e264827aa67 WHIRLPOOL f054026c4e00813d934f9d56cdfd2eb7472e0c3cf187650d30e2ed017a7d59395e4f6358574405ad260e83d410447268965ca14fbbfea4027d08c40c70f3b703
|
||||
DIST yankring-19.0.tar.bz2 36512 SHA256 0324b0da275d16b2f3fd817cbc8196ff9829b3675743027c19f7f7faf4904a31 SHA512 714d619e572f739c6d02b32d1da1ede449dccd45c4a74441c4806df1c6fdf51033da84412534dc021b0d082f72925ddcd9b29b5b0b1afcca34a79d0133263b18 WHIRLPOOL aa7bbd1874a760742428c3fdb6d1b4d30f160b5f2d8b2cdb6b9403a0e05cb3bcd7d221ce96ae91a2cb8f246a591c69a1bb6cf1894fbb55a319647beb4ab6b57b
|
||||
|
@ -1,12 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: maintains a history of previous yanks and deletes"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1234"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# NOTE: cross compiling is probably broken
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Creates bindings for lua on c++"
|
||||
HOMEPAGE="http://www.rasterbar.com/products/luabind.html"
|
||||
SRC_URI="mirror://sourceforge/luabind/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/lua"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
dev-util/boost-build"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-boost.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# backwardscomapt with old boost-build-1.49.0
|
||||
if [[ -e $(which bjam-1_49 2>/dev/null) ]] ; then
|
||||
my_bjam_bin=bjam-1_49
|
||||
else
|
||||
my_bjam_bin=bjam
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# linkflags get appended, so they actually do nothing
|
||||
${my_bjam_bin} release \
|
||||
-d+2 \
|
||||
--prefix="${D}/usr/" \
|
||||
--libdir="${D}/usr/$(get_libdir)" \
|
||||
cflags="${CFLAGS}" \
|
||||
linkflags="${LDFLAGS}" \
|
||||
link=shared || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
${my_bjam_bin} release \
|
||||
-d+2 \
|
||||
--prefix="${D}/usr/" \
|
||||
--libdir="${D}/usr/$(get_libdir)" \
|
||||
cflags="${CFLAGS}" \
|
||||
linkflags="${LDFLAGS}" \
|
||||
link=shared \
|
||||
install || die "install failed"
|
||||
}
|
||||
|
||||
# generally, this really sucks, patches welcome
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Tabular Datastream Library"
|
||||
HOMEPAGE="http://www.freetds.org/"
|
||||
SRC_URI="ftp://ftp.freetds.org/pub/freetds/stable/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos"
|
||||
IUSE="kerberos odbc iodbc mssql"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
odbc? ( dev-db/unixODBC )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
config_rpath_update
|
||||
sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--with-tdsver=7.0 $(use_enable mssql msdblib)"
|
||||
|
||||
if use iodbc ; then
|
||||
myconf="${myconf} --enable-odbc --with-iodbc=${EPREFIX}/usr"
|
||||
elif use odbc ; then
|
||||
myconf="${myconf} --enable-odbc --with-unixodbc=${EPREFIX}/usr"
|
||||
fi
|
||||
if use kerberos ; then
|
||||
myconf="${myconf} --enable-krb5"
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" DOCDIR="doc/${PF}" install
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
EGO_PN=github.com/tools/godep
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
EGIT_COMMIT=v${PV}
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="dependency tool for go"
|
||||
HOMEPAGE="https://github.com/tools/godep"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
dobin godep
|
||||
dodoc src/${EGO_PN}/*.md
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Io is a small, prototype-based programming language"
|
||||
HOMEPAGE="http://www.iolanguage.com"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz
|
||||
https://dev.gentoo.org/~araujo/snapshots/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="cgi clutter dbi doc editline google gui http image libffi libxml2
|
||||
lzo md5sum ncurses ogg opengl postgres pcre python readline sha1 sndfile sockets
|
||||
sqlite syslog theora threads truetype twitter vorbis xmpp zlib"
|
||||
DEPEND="clutter? ( media-libs/clutter )
|
||||
dbi? ( dev-db/libdbi )
|
||||
editline? ( dev-libs/libedit )
|
||||
image? ( virtual/jpeg
|
||||
media-libs/tiff
|
||||
media-libs/libpng )
|
||||
xmpp? ( net-libs/loudmouth )
|
||||
libffi? ( virtual/libffi )
|
||||
libxml2? ( dev-libs/libxml2 )
|
||||
lzo? ( dev-libs/lzo )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
ogg? ( media-libs/libogg )
|
||||
opengl? ( virtual/opengl )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
postgres? ( dev-db/postgresql[server] )
|
||||
readline? ( sys-libs/readline )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
sqlite? ( >=dev-db/sqlite-3.0.0 )
|
||||
theora? ( media-libs/libtheora )
|
||||
truetype? ( media-libs/freetype )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
RDEPEND=""
|
||||
REQUIRED_USE="vorbis? ( ogg )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gentoo-fixes.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fix multilib strict check (bug #430496)
|
||||
sed -i 's/DESTINATION lib/DESTINATION lib${LIB_SUFFIX}/' \
|
||||
addons/*/CMakeLists.txt \
|
||||
libs/*/CMakeLists.txt
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_CGI=$(usex cgi)
|
||||
-DENABLE_CLUTTER=$(usex clutter)
|
||||
-DENABLE_DBI=$(usex dbi)
|
||||
-DENABLE_EDITLINE=$(usex editline)
|
||||
-DENABLE_CFFI=$(usex libffi)
|
||||
-DENABLE_FLUX=$(usex gui)
|
||||
-DENABLE_GOOGLESEARCH=$(usex google)
|
||||
-DENABLE_HTTPCLIENT=$(usex http)
|
||||
-DENABLE_LOUDMOUTH=$(usex xmpp)
|
||||
-DENABLE_IMAGE=$(usex image)
|
||||
-DENABLE_LIBXML2=$(usex libxml2)
|
||||
-DENABLE_LZO=$(usex lzo)
|
||||
-DENABLE_MD5SUM=$(usex md5sum)
|
||||
-DENABLE_CURSES=$(usex ncurses)
|
||||
-DENABLE_OGG=$(usex ogg)
|
||||
-DENABLE_OPENGL=$(usex opengl)
|
||||
-DENABLE_POSTGRESQL=$(usex postgres)
|
||||
-DENABLE_PYTHON=$(usex python)
|
||||
-DENABLE_READLINE=$(usex readline)
|
||||
-DENABLE_REGEX=$(usex pcre)
|
||||
-DENABLE_LIBSNDFILE=$(usex sndfile)
|
||||
-DENABLE_SHA1=$(usex sha1)
|
||||
-DENABLE_SOCKET=$(usex sockets)
|
||||
-DENABLE_SQLITE3=$(usex sqlite)
|
||||
-DENABLE_SYSLOG=$(usex syslog)
|
||||
-DENABLE_THEORA=$(usex theora)
|
||||
-DENABLE_THREADS=$(usex threads)
|
||||
-DENABLE_FONT=$(usex truetype)
|
||||
-DENABLE_TWITTER=$(usex twitter)
|
||||
-DENABLE_VORBIS=$(usex vorbis)
|
||||
-DENABLE_ZLIB=$(usex zlib)
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Fix bug #414421
|
||||
cmake-utils_src_compile -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
if use doc; then
|
||||
dodoc docs/docs.css docs/*.html
|
||||
fi
|
||||
}
|
@ -1,18 +1,6 @@
|
||||
DIST rust-stage0-2015-05-24-ba0e1cd-linux-i386-a6f22e481eabf098cc65bda97bf7e434a1fcc20b.tar.bz2 15633335 SHA256 f6787490b97923386b3469d698b700be1ab7f8d43efa427031e228a59f893993 SHA512 8b7c706d02b8198343d67b30921ba22879bc44943284b8fcf24d8de1861b64cd5441cf5b1e2551021fa8777c78073e9b492a2e79da2889368f5c47392315dbc9 WHIRLPOOL 6766d6c536eace21c9f412eb628b759338df41985eab38a9e0c47271d0b11b500c09ac8c0797384b43223419df6e21af0747bfd781a4e3052b3d6d3047ced2e6
|
||||
DIST rust-stage0-2015-05-24-ba0e1cd-linux-x86_64-5fd8698fdfe953e6c4d86cf4fa1d5f3a0053248c.tar.bz2 14913394 SHA256 11f7f56320bd0dff5b47bae3f80377d9514a3ad4bc983d674eb33074c95d66a0 SHA512 795d53c802480b5f54d80032e9d0aee56fa26a5bb1a5f79c6673d7646c30e0dccfa7926b1fdd4c5874d9d7b7dd245143686a52e228b17c4c96dec371daf1b625 WHIRLPOOL e098dc9a6348dc0da211b1d23ccb2b0a10e0a8b8e4babf1e710d6007e7580b8656f5788343bbafdc22dca20df247a332fac19476ffff244fc4607c1a1e7b4db5
|
||||
DIST rust-stage0-2015-07-26-a5c12f4-linux-i386-3459275cdf3896f678e225843fa56f0d9fdbabe8.tar.bz2 16414576 SHA256 be9581981f0daf8b573d694269e60219f09ef6ea10901b422d87dc580484199a SHA512 c0a3b8cbc710a08edacbdedc6f635a8d6665304c9c8272430f4d6c5847fda2cef852e1f84f74603a4306169ceaf176b3fc77d1bc49c3bbd9dade87cfb64df30d WHIRLPOOL 69f59db907df480846d0a4faed4c751033c20d78b3ad59de018261e4732c45aea305af1ccbfdabd632c0029cf23c66bd690ef07a54602345736dc81ce9d2d1b5
|
||||
DIST rust-stage0-2015-07-26-a5c12f4-linux-x86_64-e451e3bd6e5fcef71e41ae6f3da9fb1cf0e13a0c.tar.bz2 15900837 SHA256 779943595dd63d6869c747e2a31c13095f9c5354d4530327d6f9310cc580c2ff SHA512 c6d74065f785719bb7e394e42bc64d323d00c0c3e70a4e16961055b8fbe69e557c7dc4875b3ba3d8c04184220aa35da7311d880b5f987b7105f54fdfcc20ded4 WHIRLPOOL f0c5ba9f40cc857dc5406704a3d8dfd468150d6ff0494a206d43a2e0e12c6670a23079b932f59233c64cce6af75f1e677c308e3434f9e416ac5e21951129afcb
|
||||
DIST rust-stage0-2015-08-11-1af31d4-linux-i386-e2553bf399cd134a08ef3511a0a6ab0d7a667216.tar.bz2 16320060 SHA256 7319c60faad6dc380775e8a104c67d58b1365dbbed31a3bd15e1b8bc5004d59f SHA512 ce98bedd99dc00f60c869f3bfa4028e17f28d328b9cdae3f3279c8a7f4fb767f6bcb0655d28f17a3df581cb1a56d0326da7333d403e6921c46a51648ff2b1ef9 WHIRLPOOL 1ed9017636d421aaef053df0fd5a2d3aafbdb93f1ac7053fa7b4135189e7a926b87fa2cca93fd11112fdada72f3f9cb7ee7942cfab30540cb5e311b17b198b91
|
||||
DIST rust-stage0-2015-08-11-1af31d4-linux-x86_64-7df8ba9dec63ec77b857066109d4b6250f3d222f.tar.bz2 15826164 SHA256 5936f5ec4327d41f3aa9f98cbedebb6fd3d72715f8df578e0c9a669154c80bc3 SHA512 6a761971757df2fb9668f9225c2d364cc16352f61205ae88e4cce38f95e94e75e3fd8b5e8a3684c2c8550ae26091714be1d8c1602ddf286af35ea49f81b5c728 WHIRLPOOL 0d3b716efabede055e017f55ec702231c2457cde06efa093e61341bc441aee4b812ee31f9665c5cb1a2e4930a913e06286a3b59a3f63ed93378bb3427d225eb4
|
||||
DIST rust-stage0-2015-12-18-3391630-linux-i386-a09c4a4036151d0cb28e265101669731600e01f2.tar.bz2 17372311 SHA256 b1bfa86ed526bea5710dbbf44852fa9c49276bb8d6a6a5be6a266b162ef94d92 SHA512 1b23160ea385cfa9d5240271bc9947a2bfdb94b72147140b4b1a8241354fab456f833e0e0d32d7ba13243007ebb6d935a78fe72523d86a987d672df4caa6a90d WHIRLPOOL c399124bb75ba45011abafb37be1b6add570b079d5d2accc22abd8b774c27eb85e02b23813520838b2ce6b6dcf822b6554d6c5e94c9a7af819b8f281c79db6f0
|
||||
DIST rust-stage0-2015-12-18-3391630-linux-x86_64-97e2a5eb8904962df8596e95d6e5d9b574d73bf4.tar.bz2 16832231 SHA256 a8dc5203673ce43f47316beb02ee0c427edb7bbde2ab5fc662a06b52db2950e7 SHA512 e6768cdafa845b65f86069b3d35df9ec28121d1c55b5033eb34f6fdc0e20485335c977588f44d170d194550fc5f3b4b675f896ebb1e3ea05e1c96ff423343509 WHIRLPOOL 4d46083ec5e5cb57f42311518f51d4d04138b07a31b6fe29eae0da55f3137ef4e122f0d2d0f0cfd139316ee90f2d0c8211b80f37bcec6b8b65efb4189e391753
|
||||
DIST rust-stage0-2016-02-17-4d3eebf-linux-i386-5f194aa7628c0703f0fd48adc4ec7f3cc64b98c7.tar.bz2 18682481 SHA256 e54154456ee845496f98fac8c8faf7192b4205848d45ef060ecfa0482b14cd99 SHA512 30b6a904b23f8ffeb12ea821ba855d44507468a6ffb95b0efd05385012bcad9ecdda0a7f5bf719f7d0c499f05d6b5672c05bbd052690068f414c0e9998b9dc08 WHIRLPOOL 2d8aa57812134938cfdc52f88b6a36e88ec03dec220445f6af564697f01c9c042ce1ffd4dc5d7edb1873ca5c19b7a2c473e595ea0ae8af29f9eafb1c9c2f6fac
|
||||
DIST rust-stage0-2016-02-17-4d3eebf-linux-x86_64-d29b7607d13d64078b6324aec82926fb493f59ba.tar.bz2 18113844 SHA256 8deb8b687cb7d89ea943745c16c1061225fcbb5c64c0c121cdd1cb68673e683e SHA512 bc27a7a8cea328c2ad677dbdb261563fba0354313b53f600924cdb147c3b9a5ad7ef8354114e43e0803016c7cc0dad6af274502259edecbde385383a2160b398 WHIRLPOOL d217ea287a377a691335ec4206b515bfb7904a6393e412c5376e5a6ae99870bf9a31065e8815e3cf1348535dabf60b97dcbf4934a66c8ef2264b08eedd3815be
|
||||
DIST rust-stage0-2016-03-18-235d774-linux-i386-0e0e4448b80d0a12b75485795244bb3857a0a7ef.tar.bz2 18489693 SHA256 36958fcd55387d7b1b86618111fa8660c1d488fe191e85ad9659c6470874322b SHA512 3e729e7c9340060c5eaa13b0420cc3b10eb968312bfceb4d072e5e16673a393c1b51b34b2c43f91953a2b44f0b0fe549215e5c284695d5a3626a3dc703693fd6 WHIRLPOOL 9a7064933b4387de6c6158c5a9645be1b3cd05d1cbd66c8e30a5efb63d08fd8aed8c5695e850fb3e3f92577b59fd2243b467d9ed509b913f652abddd206f68db
|
||||
DIST rust-stage0-2016-03-18-235d774-linux-x86_64-1273b6b6aed421c9e40c59f366d0df6092ec0397.tar.bz2 17950752 SHA256 a8ca657d78162a9f0a69a1ec8b0460e97259cdf2e6353ee256ae206876c9637e SHA512 77694229b9aca58eab866acf6d52f381d9b4faa8c7698c17b2de90fa396eba17f3e12411b2cc4639607f7418d1382365e15039fb4ed247158a7d5542ce3b8b59 WHIRLPOOL a58f3d9e8e319b4852513e4c172dc733f5080032eb6f2c33ddd9b336891586318761db0e6dcc3ff54113cc32ee256fd356a672cb50ae316ca4d1a7be3d5591d6
|
||||
DIST rustc-1.2.0-src.tar.gz 23863924 SHA256 ea6eb983daf2a073df57186a58f0d4ce0e85c711bec13c627a8c85d51b6a6d78 SHA512 2596c0dddff0276916edbb7d68ae610209c75d53d89f1f15dc56ad7408e235dbedfcd1bba9c446dd1e32a8d274cedebb7b32b328223280c28ab546bbd06f1c76 WHIRLPOOL 741118f7e265129bfd0f0d66487e12dc8f95018d8479e8f3cde555160abdb29ade9c69607a2daa088ae3dbe74c1120c16141248cd771a6e56759ce10cfc45a62
|
||||
DIST rustc-1.3.0-src.tar.gz 24308223 SHA256 ea02d7bc9e7de5b8be3fe6b37ea9b2bd823f9a532c8e4c47d02f37f24ffa3126 SHA512 d9a4851d958e6a62f0997af5451c1c1ba2bd3ace595cf9f1dbc5977a6efb0ba802d108d4aa6fc29540c41b36d7f5a04e518700b5c1426fe18d1627d5fa779d58 WHIRLPOOL 21d9216bfa31b71e04ad35b4d72fd2b7b466b89cf62be2f9b0d734af21d1cba2050171bf3b9757c14a675fae11b869fcda30abc528e07ddcdc9d1a2bf0e3b7dc
|
||||
DIST rustc-1.5.0-src.tar.gz 24586539 SHA256 641037af7b7b6cad0b231cc20671f8a314fbf2f40fc0901d0b877c39fc8da5a0 SHA512 c56f02f39093e5ce1f9a29b295ea1a6d69192d554a64c1b49b6bb5328884e9bbfb1681ea4362166e3fa91ff4b4e17c9a9de6720a70d22a852060bd6b9de6a30b WHIRLPOOL a6138754168065dca7d5a68afd99dc9a2eb0abcbf2eb8d3908646c2e3e6fd84b344dd96ba7d2fe6db4ae703baa0ab60a3594471705b5173ba3e45a959b0a97c1
|
||||
DIST rustc-1.7.0-src.tar.gz 25097611 SHA256 6df96059d87b718676d9cd879672e4e22418b6093396b4ccb5b5b66df37bf13a SHA512 ef49bba9e8324c5b24a257131a31df4902f13ee4e0b763a2260df6ac8abbb150a6b9e5b36f52c6dc6c3f63fd3b1a9fb303a072973b054851f5d03a0d32df7317 WHIRLPOOL f39953c678f42fa44da4b27eddb87627cd9b10a9002457c895cbae119d778a7496aebb1776cf0cfb4cd48f54513faf3d1b3b1afb7ee879d93978351443eb5963
|
||||
DIST rustc-1.8.0-src.tar.gz 25641320 SHA256 af4466147e8d4db4de2a46e07494d2dc2d96313c5b37da34237f511c905f7449 SHA512 96e1ef3644053849354f84737f0a9ae09786f6a1a16ca5f10cba261b2bc5f2e82e8d369ed7430116d0b9bf8a52c2b16bd581d042be86862a9095fd161f3283bd WHIRLPOOL b70ff752d9cc8efd910c9889372fd6303a40b0cce3e4ef0d566e8ec9274cf80b1739955089cd6b73300c675e89d1edba2765e2f7e9f793b036286813ed55626d
|
||||
DIST rustc-1.10.0-src.tar.gz 25967780 SHA256 a4015aacf4f6d8a8239253c4da46e7abaa8584f8214d1828d2ff0a8f56176869 SHA512 fdef0a4c458ce687ab2921fb879cf6f68ae7ec4d780e407fea80cb751d70d80e621fc37756358d8336383c24646d9e2869215b3591b2240904206df2e58a7e45 WHIRLPOOL daa9775e515f6466c7344518e2afff96d01f62bb15cb01e6d4889ec338189b9584f7f9b5d6d340e00aa995490a09eecad1c4db0d98e068e4256081724c668644
|
||||
DIST rustc-1.9.0-i686-unknown-linux-gnu.tar.gz 45887218 SHA256 2951dec835827974d03c7aafbf2c969f39bb530e1c200fd46f90bc01772fae39 SHA512 6d799a464f93aecb24ded4e9af634d7852f9930968814700e90353888657f9f556dda156455cb8cabca0e5f42c8d0f7864d43294687c8ce57518e21bebad99f7 WHIRLPOOL da145280c6558cd36d40450203fc61081282a64a2145b75998806964be731e91378e571a9c9b6b7fe1b488c6dd303105a9f47c0b1c6c77a6426ed1aaa0756df4
|
||||
DIST rustc-1.9.0-src.tar.gz 25859714 SHA256 b19b21193d7d36039debeaaa1f61cbf98787e0ce94bd85c5cbe2a59462d7cfcd SHA512 bb23d529daaea17cd6358057ad7c219b1bf2206331a9813520f9e3a519698f6d274a6c25f579dab9e8e48fe0c6e51e7eb473885cb1fb65128e715e06778b62f7 WHIRLPOOL 23393e5842d2af5bffaca34909be5293198a2ceedb3d6db55920e375e3860411cf51f5148264d9e172ec088f26706529f24ed05d97ca09387f0d25f90c23ed85
|
||||
DIST rustc-1.9.0-x86_64-unknown-linux-gnu.tar.gz 45246956 SHA256 d0704d10237c66c3efafa6f7e5570c59a1d3fe5c6d99487540f90ebb37cd84c4 SHA512 37a4c62f09e2b49cf7a898eeefd3843ef17f3dc433a4f55cb5c3d5c315effb9e0750c275bb0fc91e5ada6c42924af5c7f890874c5917d41a4723c60b209d1c0d WHIRLPOOL f3aeaaf9c93a177c2a944eaae994b5d3c6d2c31923d468bda16cce845e3ae87ac3747c2f025ec1e78054cc001d3c3abf629534f7b6b454e394192ead8e614d3d
|
||||
|
@ -1,132 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils multilib python-any-r1
|
||||
|
||||
MY_P="rustc-${PV}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="http://static.rust-lang.org/dist/${MY_P}-src.tar.gz
|
||||
amd64? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-05-24-ba0e1cd-linux-x86_64-5fd8698fdfe953e6c4d86cf4fa1d5f3a0053248c.tar.bz2 )
|
||||
x86? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-05-24-ba0e1cd-linux-i386-a6f22e481eabf098cc65bda97bf7e434a1fcc20b.tar.bz2 )
|
||||
"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="clang debug doc libcxx +system-llvm"
|
||||
REQUIRED_USE="libcxx? ( clang )"
|
||||
|
||||
CDEPEND="libcxx? ( sys-libs/libcxx )
|
||||
>=app-eselect/eselect-rust-0.3_pre20150425
|
||||
!dev-lang/rust:0
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=dev-lang/perl-5.0
|
||||
clang? ( sys-devel/clang )
|
||||
system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget(-)]
|
||||
<sys-devel/llvm-3.7.0[multitarget(-)] )
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack "${MY_P}-src.tar.gz" || die
|
||||
mkdir "${MY_P}/dl" || die
|
||||
cp "${DISTDIR}/rust-stage0"* "${MY_P}/dl/" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local postfix="gentoo-${SLOT}"
|
||||
sed -i -e "s/CFG_FILENAME_EXTRA=.*/CFG_FILENAME_EXTRA=${postfix}/" mk/main.mk || die
|
||||
epatch "${FILESDIR}/${PN}-1.1.0-install.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CFG_DISABLE_LDCONFIG="notempty"
|
||||
|
||||
"${ECONF_SOURCE:-.}"/configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/${P}" \
|
||||
--mandir="${EPREFIX}/usr/share/${P}/man" \
|
||||
--release-channel=${SLOT} \
|
||||
--disable-manage-submodules \
|
||||
$(use_enable clang) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable debug llvm-assertions) \
|
||||
$(use_enable !debug optimize) \
|
||||
$(use_enable !debug optimize-cxx) \
|
||||
$(use_enable !debug optimize-llvm) \
|
||||
$(use_enable !debug optimize-tests) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable libcxx libcpp) \
|
||||
$(usex system-llvm "--llvm-root=${EPREFIX}/usr" " ") \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERBOSE=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unset SUDO_USER
|
||||
|
||||
default
|
||||
|
||||
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
|
||||
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
|
||||
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
|
||||
|
||||
dodoc COPYRIGHT LICENSE-APACHE LICENSE-MIT
|
||||
|
||||
dodir "/usr/share/doc/rust-${PV}/"
|
||||
mv "${D}/usr/share/doc/rust"/* "${D}/usr/share/doc/rust-${PV}/" || die
|
||||
rmdir "${D}/usr/share/doc/rust/" || die
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/usr/$(get_libdir)/${P}"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
EOF
|
||||
dodir /etc/env.d/rust
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
|
||||
|
||||
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-mode to get vim support for rust."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust unset --if-invalid
|
||||
}
|
@ -1,130 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils multilib python-any-r1
|
||||
|
||||
MY_P="rustc-${PV}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="http://static.rust-lang.org/dist/${MY_P}-src.tar.gz
|
||||
amd64? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-07-26-a5c12f4-linux-x86_64-e451e3bd6e5fcef71e41ae6f3da9fb1cf0e13a0c.tar.bz2 )
|
||||
x86? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-07-26-a5c12f4-linux-i386-3459275cdf3896f678e225843fa56f0d9fdbabe8.tar.bz2 )
|
||||
"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="clang debug doc libcxx"
|
||||
REQUIRED_USE="libcxx? ( clang )"
|
||||
|
||||
CDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
|
||||
libcxx? ( sys-libs/libcxx )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=dev-lang/perl-5.0
|
||||
clang? ( sys-devel/clang )
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack "${MY_P}-src.tar.gz" || die
|
||||
mkdir "${MY_P}/dl" || die
|
||||
cp "${DISTDIR}/rust-stage0"* "${MY_P}/dl/" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local postfix="gentoo-${SLOT}"
|
||||
sed -i -e "s/CFG_FILENAME_EXTRA=.*/CFG_FILENAME_EXTRA=${postfix}/" mk/main.mk || die
|
||||
find mk -name '*.mk' -exec \
|
||||
sed -i -e "s/-Werror / /g" {} \; || die
|
||||
epatch "${FILESDIR}/${PN}-1.1.0-install.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CFG_DISABLE_LDCONFIG="notempty"
|
||||
|
||||
"${ECONF_SOURCE:-.}"/configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/${P}" \
|
||||
--mandir="${EPREFIX}/usr/share/${P}/man" \
|
||||
--release-channel=${SLOT} \
|
||||
--disable-manage-submodules \
|
||||
$(use_enable clang) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable debug llvm-assertions) \
|
||||
$(use_enable !debug optimize) \
|
||||
$(use_enable !debug optimize-cxx) \
|
||||
$(use_enable !debug optimize-llvm) \
|
||||
$(use_enable !debug optimize-tests) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable libcxx libcpp) \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERBOSE=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unset SUDO_USER
|
||||
|
||||
default
|
||||
|
||||
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
|
||||
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
|
||||
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
|
||||
|
||||
dodoc COPYRIGHT LICENSE-APACHE LICENSE-MIT
|
||||
|
||||
dodir "/usr/share/doc/rust-${PV}/"
|
||||
mv "${D}/usr/share/doc/rust"/* "${D}/usr/share/doc/rust-${PV}/" || die
|
||||
rmdir "${D}/usr/share/doc/rust/" || die
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/usr/$(get_libdir)/${P}"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
EOF
|
||||
dodir /etc/env.d/rust
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
|
||||
|
||||
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-mode to get vim support for rust."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust unset --if-invalid
|
||||
}
|
@ -1,133 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils multilib python-any-r1
|
||||
|
||||
MY_P="rustc-${PV}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="http://static.rust-lang.org/dist/${MY_P}-src.tar.gz
|
||||
amd64? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-08-11-1af31d4-linux-x86_64-7df8ba9dec63ec77b857066109d4b6250f3d222f.tar.bz2 )
|
||||
x86? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-08-11-1af31d4-linux-i386-e2553bf399cd134a08ef3511a0a6ab0d7a667216.tar.bz2 )
|
||||
"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="clang debug doc libcxx system-llvm"
|
||||
REQUIRED_USE="libcxx? ( clang )"
|
||||
|
||||
CDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
|
||||
libcxx? ( sys-libs/libcxx )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=dev-lang/perl-5.0
|
||||
clang? ( sys-devel/clang )
|
||||
system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget(-)]
|
||||
<sys-devel/llvm-3.7.0[multitarget(-)] )
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack "${MY_P}-src.tar.gz" || die
|
||||
mkdir "${MY_P}/dl" || die
|
||||
cp "${DISTDIR}/rust-stage0"* "${MY_P}/dl/" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local postfix="gentoo-${SLOT}"
|
||||
sed -i -e "s/CFG_FILENAME_EXTRA=.*/CFG_FILENAME_EXTRA=${postfix}/" mk/main.mk || die
|
||||
find mk -name '*.mk' -exec \
|
||||
sed -i -e "s/-Werror / /g" {} \; || die
|
||||
epatch "${FILESDIR}/${PN}-1.1.0-install.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CFG_DISABLE_LDCONFIG="notempty"
|
||||
|
||||
"${ECONF_SOURCE:-.}"/configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/${P}" \
|
||||
--mandir="${EPREFIX}/usr/share/${P}/man" \
|
||||
--release-channel=${SLOT} \
|
||||
--disable-manage-submodules \
|
||||
$(use_enable clang) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable debug llvm-assertions) \
|
||||
$(use_enable !debug optimize) \
|
||||
$(use_enable !debug optimize-cxx) \
|
||||
$(use_enable !debug optimize-llvm) \
|
||||
$(use_enable !debug optimize-tests) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable libcxx libcpp) \
|
||||
$(usex system-llvm "--llvm-root=${EPREFIX}/usr" " ") \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERBOSE=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unset SUDO_USER
|
||||
|
||||
default
|
||||
|
||||
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
|
||||
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
|
||||
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
|
||||
|
||||
dodoc COPYRIGHT LICENSE-APACHE LICENSE-MIT
|
||||
|
||||
dodir "/usr/share/doc/rust-${PV}/"
|
||||
mv "${D}/usr/share/doc/rust"/* "${D}/usr/share/doc/rust-${PV}/" || die
|
||||
rmdir "${D}/usr/share/doc/rust/" || die
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/usr/$(get_libdir)/${P}"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
EOF
|
||||
dodir /etc/env.d/rust
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
|
||||
|
||||
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-mode to get vim support for rust."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust unset --if-invalid
|
||||
}
|
@ -1,159 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-any-r1 versionator toolchain-funcs
|
||||
|
||||
if [[ ${PV} = *beta* ]]; then
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
MY_P="rustc-beta"
|
||||
SLOT="beta/${PV}"
|
||||
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.gz"
|
||||
KEYWORDS=""
|
||||
else
|
||||
ABI_VER="$(get_version_component_range 1-2)"
|
||||
SLOT="stable/${ABI_VER}"
|
||||
MY_P="rustc-${PV}"
|
||||
SRC="${MY_P}-src.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
# from src/snapshots.txt
|
||||
RUST_SNAPSHOT_DATE="2015-12-18"
|
||||
RUST_SNAPSHOT_SRCHASH="3391630"
|
||||
RUST_SNAPSHOT_HASH_amd64="97e2a5eb8904962df8596e95d6e5d9b574d73bf4"
|
||||
RUST_SNAPSHOT_HASH_x86="a09c4a4036151d0cb28e265101669731600e01f2"
|
||||
RUST_STAGE0="rust-stage0-${RUST_SNAPSHOT_DATE}-${RUST_SNAPSHOT_SRCHASH}"
|
||||
RUST_STAGE0_amd64="${RUST_STAGE0}-linux-x86_64-${RUST_SNAPSHOT_HASH_amd64}"
|
||||
RUST_STAGE0_x86="${RUST_STAGE0}-linux-i386-${RUST_SNAPSHOT_HASH_x86}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="http://static.rust-lang.org/dist/${SRC} -> rustc-${PV}-src.tar.gz
|
||||
amd64? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_amd64}.tar.bz2 )
|
||||
x86? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_x86}.tar.bz2 )
|
||||
"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
|
||||
IUSE="clang debug doc libcxx +system-llvm"
|
||||
REQUIRED_USE="libcxx? ( clang )"
|
||||
|
||||
RDEPEND="libcxx? ( sys-libs/libcxx )
|
||||
system-llvm? ( >=sys-devel/llvm-3.7.1-r1:=[multitarget]
|
||||
<sys-devel/llvm-3.8.0:=[multitarget] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=dev-lang/perl-5.0
|
||||
clang? ( sys-devel/clang )
|
||||
"
|
||||
|
||||
PDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "rustc-${PV}-src.tar.gz" || die
|
||||
mkdir "${MY_P}/dl" || die
|
||||
local stagename="RUST_STAGE0_${ARCH}"
|
||||
local stage0="${!stagename}"
|
||||
cp "${DISTDIR}/${stage0}.tar.bz2" "${MY_P}/dl/" || die "cp stage0"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find mk -name '*.mk' -exec \
|
||||
sed -i -e "s/-Werror / /g" {} \; || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CFG_DISABLE_LDCONFIG="notempty"
|
||||
|
||||
"${ECONF_SOURCE:-.}"/configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/${P}" \
|
||||
--mandir="${EPREFIX}/usr/share/${P}/man" \
|
||||
--release-channel=${SLOT%%/*} \
|
||||
--disable-manage-submodules \
|
||||
--default-linker=$(tc-getBUILD_CC) \
|
||||
--default-ar=$(tc-getBUILD_AR) \
|
||||
--python=${EPYTHON} \
|
||||
--disable-rpath \
|
||||
$(use_enable clang) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable debug llvm-assertions) \
|
||||
$(use_enable !debug optimize) \
|
||||
$(use_enable !debug optimize-cxx) \
|
||||
$(use_enable !debug optimize-llvm) \
|
||||
$(use_enable !debug optimize-tests) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable libcxx libcpp) \
|
||||
$(usex system-llvm "--llvm-root=${EPREFIX}/usr" " ") \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERBOSE=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unset SUDO_USER
|
||||
|
||||
default
|
||||
|
||||
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
|
||||
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
|
||||
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
|
||||
|
||||
dodoc COPYRIGHT
|
||||
|
||||
dodir "/usr/share/doc/rust-${PV}/"
|
||||
mv "${D}/usr/share/doc/rust"/* "${D}/usr/share/doc/rust-${PV}/" || die
|
||||
rmdir "${D}/usr/share/doc/rust/" || die
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/usr/$(get_libdir)/${P}"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
EOF
|
||||
dodir /etc/env.d/rust
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
|
||||
|
||||
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-mode to get vim support for rust."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust unset --if-invalid
|
||||
}
|
@ -1,148 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-any-r1 versionator toolchain-funcs
|
||||
|
||||
MY_P="rustc-${PV}"
|
||||
ABI_VER="$(get_version_component_range 1-2)"
|
||||
|
||||
# from src/snapshots.txt
|
||||
RUST_SNAPSHOT_DATE="2015-12-18"
|
||||
RUST_SNAPSHOT_SRCHASH="3391630"
|
||||
RUST_SNAPSHOT_HASH_amd64="97e2a5eb8904962df8596e95d6e5d9b574d73bf4"
|
||||
RUST_SNAPSHOT_HASH_x86="a09c4a4036151d0cb28e265101669731600e01f2"
|
||||
RUST_STAGE0="rust-stage0-${RUST_SNAPSHOT_DATE}-${RUST_SNAPSHOT_SRCHASH}"
|
||||
RUST_STAGE0_amd64="${RUST_STAGE0}-linux-x86_64-${RUST_SNAPSHOT_HASH_amd64}"
|
||||
RUST_STAGE0_x86="${RUST_STAGE0}-linux-i386-${RUST_SNAPSHOT_HASH_x86}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="http://static.rust-lang.org/dist/${MY_P}-src.tar.gz
|
||||
amd64? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_amd64}.tar.bz2 )
|
||||
x86? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_x86}.tar.bz2 )
|
||||
"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable/${ABI_VER}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="clang debug doc libcxx +system-llvm"
|
||||
REQUIRED_USE="libcxx? ( clang )"
|
||||
|
||||
RDEPEND="libcxx? ( sys-libs/libcxx )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=dev-lang/perl-5.0
|
||||
clang? ( sys-devel/clang )
|
||||
system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget]
|
||||
<sys-devel/llvm-3.7.0[multitarget] )
|
||||
"
|
||||
|
||||
PDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${MY_P}-src.tar.gz" || die
|
||||
mkdir "${MY_P}/dl" || die
|
||||
local stagename="RUST_STAGE0_${ARCH}"
|
||||
local stage0="${!stagename}"
|
||||
cp "${DISTDIR}/${stage0}.tar.bz2" "${MY_P}/dl/" || die "cp stage0"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find mk -name '*.mk' -exec \
|
||||
sed -i -e "s/-Werror / /g" {} \; || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CFG_DISABLE_LDCONFIG="notempty"
|
||||
|
||||
"${ECONF_SOURCE:-.}"/configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/${P}" \
|
||||
--mandir="${EPREFIX}/usr/share/${P}/man" \
|
||||
--release-channel=${SLOT%%/*} \
|
||||
--disable-manage-submodules \
|
||||
--default-linker=$(tc-getBUILD_CC) \
|
||||
--default-ar=$(tc-getBUILD_AR) \
|
||||
--python=${EPYTHON} \
|
||||
--disable-rpath \
|
||||
$(use_enable clang) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable debug llvm-assertions) \
|
||||
$(use_enable !debug optimize) \
|
||||
$(use_enable !debug optimize-cxx) \
|
||||
$(use_enable !debug optimize-llvm) \
|
||||
$(use_enable !debug optimize-tests) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable libcxx libcpp) \
|
||||
$(usex system-llvm "--llvm-root=${EPREFIX}/usr" " ") \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERBOSE=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unset SUDO_USER
|
||||
|
||||
default
|
||||
|
||||
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
|
||||
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
|
||||
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
|
||||
|
||||
dodoc COPYRIGHT
|
||||
|
||||
dodir "/usr/share/doc/rust-${PV}/"
|
||||
mv "${D}/usr/share/doc/rust"/* "${D}/usr/share/doc/rust-${PV}/" || die
|
||||
rmdir "${D}/usr/share/doc/rust/" || die
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/usr/$(get_libdir)/${P}"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
EOF
|
||||
dodir /etc/env.d/rust
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
|
||||
|
||||
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-mode to get vim support for rust."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust unset --if-invalid
|
||||
}
|
@ -1,158 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-any-r1 versionator toolchain-funcs
|
||||
|
||||
if [[ ${PV} = *beta* ]]; then
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
MY_P="rustc-beta"
|
||||
SLOT="beta/${PV}"
|
||||
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.gz"
|
||||
KEYWORDS=""
|
||||
else
|
||||
ABI_VER="$(get_version_component_range 1-2)"
|
||||
SLOT="stable/${ABI_VER}"
|
||||
MY_P="rustc-${PV}"
|
||||
SRC="${MY_P}-src.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
# from src/snapshots.txt
|
||||
RUST_SNAPSHOT_DATE="2016-02-17"
|
||||
RUST_SNAPSHOT_SRCHASH="4d3eebf"
|
||||
RUST_SNAPSHOT_HASH_amd64="d29b7607d13d64078b6324aec82926fb493f59ba"
|
||||
RUST_SNAPSHOT_HASH_x86="5f194aa7628c0703f0fd48adc4ec7f3cc64b98c7"
|
||||
RUST_STAGE0="rust-stage0-${RUST_SNAPSHOT_DATE}-${RUST_SNAPSHOT_SRCHASH}"
|
||||
RUST_STAGE0_amd64="${RUST_STAGE0}-linux-x86_64-${RUST_SNAPSHOT_HASH_amd64}"
|
||||
RUST_STAGE0_x86="${RUST_STAGE0}-linux-i386-${RUST_SNAPSHOT_HASH_x86}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="http://static.rust-lang.org/dist/${SRC} -> rustc-${PV}-src.tar.gz
|
||||
amd64? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_amd64}.tar.bz2 )
|
||||
x86? ( http://static.rust-lang.org/stage0-snapshots/${RUST_STAGE0_x86}.tar.bz2 )
|
||||
"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
|
||||
IUSE="clang debug doc libcxx +system-llvm"
|
||||
REQUIRED_USE="libcxx? ( clang )"
|
||||
|
||||
RDEPEND="libcxx? ( sys-libs/libcxx )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=dev-lang/perl-5.0
|
||||
clang? ( sys-devel/clang )
|
||||
system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget]
|
||||
<sys-devel/llvm-3.7.0[multitarget] )
|
||||
"
|
||||
|
||||
PDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "rustc-${PV}-src.tar.gz" || die
|
||||
mkdir "${MY_P}/dl" || die
|
||||
local stagename="RUST_STAGE0_${ARCH}"
|
||||
local stage0="${!stagename}"
|
||||
cp "${DISTDIR}/${stage0}.tar.bz2" "${MY_P}/dl/" || die "cp stage0"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find mk -name '*.mk' -exec \
|
||||
sed -i -e "s/-Werror / /g" {} \; || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CFG_DISABLE_LDCONFIG="notempty"
|
||||
|
||||
"${ECONF_SOURCE:-.}"/configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/${P}" \
|
||||
--mandir="${EPREFIX}/usr/share/${P}/man" \
|
||||
--release-channel=${SLOT%%/*} \
|
||||
--disable-manage-submodules \
|
||||
--default-linker=$(tc-getBUILD_CC) \
|
||||
--default-ar=$(tc-getBUILD_AR) \
|
||||
--python=${EPYTHON} \
|
||||
--disable-rpath \
|
||||
$(use_enable clang) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable debug llvm-assertions) \
|
||||
$(use_enable !debug optimize) \
|
||||
$(use_enable !debug optimize-cxx) \
|
||||
$(use_enable !debug optimize-llvm) \
|
||||
$(use_enable !debug optimize-tests) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable libcxx libcpp) \
|
||||
$(usex system-llvm "--llvm-root=${EPREFIX}/usr" " ") \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERBOSE=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unset SUDO_USER
|
||||
|
||||
default
|
||||
|
||||
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
|
||||
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
|
||||
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
|
||||
|
||||
dodoc COPYRIGHT
|
||||
|
||||
dodir "/usr/share/doc/rust-${PV}/"
|
||||
mv "${D}/usr/share/doc/rust"/* "${D}/usr/share/doc/rust-${PV}/" || die
|
||||
rmdir "${D}/usr/share/doc/rust/" || die
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/usr/$(get_libdir)/${P}"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
EOF
|
||||
dodir /etc/env.d/rust
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
|
||||
|
||||
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-mode to get vim support for rust."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust unset --if-invalid
|
||||
}
|
@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils libtool multilib toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="Stream-oriented XML parser library"
|
||||
HOMEPAGE="http://expat.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/expat/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="elibc_FreeBSD examples static-libs unicode"
|
||||
RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r6
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf="$(use_enable static-libs static)"
|
||||
|
||||
mkdir -p "${BUILD_DIR}"{u,w} || die
|
||||
|
||||
ECONF_SOURCE="${S}" econf ${myconf}
|
||||
|
||||
if use unicode; then
|
||||
pushd "${BUILD_DIR}"u >/dev/null
|
||||
CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${BUILD_DIR}"w >/dev/null
|
||||
CPPFLAGS="${CPPFLAGS} -DXML_UNICODE_WCHAR_T" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake
|
||||
|
||||
if use unicode; then
|
||||
pushd "${BUILD_DIR}"u >/dev/null
|
||||
emake buildlib LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${BUILD_DIR}"w >/dev/null
|
||||
emake buildlib LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
if use unicode; then
|
||||
pushd "${BUILD_DIR}"u >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${BUILD_DIR}"w >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
|
||||
cp expat.pc expatu.pc
|
||||
sed -i -e '/^Libs/s:-lexpat:&u:' expatu.pc || die
|
||||
cp expat.pc expatw.pc
|
||||
sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
# libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
|
||||
# we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
|
||||
use elibc_FreeBSD && gen_usr_ldscript -a expat
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc Changes README
|
||||
dohtml doc/*
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.c
|
||||
fi
|
||||
|
||||
prune_libtool_files
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue