parent
f30897a4a2
commit
0755f39760
@ -1,155 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-9.20.1-r4.ebuild,v 1.7 2015/05/04 12:23:31 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit eutils multilib toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~s390 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:2.8[X,-odbc] kde-base/kdelibs )
|
||||
wxwidgets? ( x11-libs/wxGTK:2.8[X,-odbc] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-execstack.patch \
|
||||
"${FILESDIR}"/${P}-QA.patch
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e 's:-O::g' \
|
||||
-e 's:-pipe::g' \
|
||||
-e "/^CC/s:\$(ALLFLAGS):${CFLAGS} \$(ALLFLAGS):g" \
|
||||
-e "/^CXX/s:\$(ALLFLAGS):${CXXFLAGS} \$(ALLFLAGS):g" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed -e '/Rar/d' -i makefile* || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
epatch "${FILESDIR}"/9.04-makefile.patch
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
makefile* || die "changing makefiles"
|
||||
|
||||
if use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU linker
|
||||
[[ ${CHOST} == *64-* ]] \
|
||||
&& cp -f makefile.macosx_64bits makefile.machine \
|
||||
|| cp -f makefile.macosx_32bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake -- 7zG
|
||||
emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z{G,FM}
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
|
||||
rm GUI/kde4/p7zip_compress.desktop
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
if use doc; then
|
||||
dodoc DOCS/*.txt
|
||||
dohtml -r DOCS/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST gpgme-1.3.2.tar.bz2 867738 SHA256 cfd235663f1d1adc97abb38dd5e6d093bb7e155580f171f9ba0158feab69f875 SHA512 5452aa663a85f7853f8194746ee3f7a70f46af719490df240401b0b9d97b0e2d3656d73dd469f136dc4ba0f878f5ef445f43e682a049a3a99c3ac22de29d79c5 WHIRLPOOL 19761dbc7430065d83884cb371bdfb39a114414447c8503e4ee77b72ee5dd007b373aaba4d8f6414250fcdf6eb6a219316135c73d2addb058fc09825ab943dc4
|
||||
DIST gpgme-1.5.5.tar.bz2 976383 SHA256 0b3d3d5107680c594777aae65882a1ff6dd1ba629a83432e719c8b82a743c207 SHA512 a01b84c1ae2a7c647b2de793fc05d39c4bf4a2d1b7378934e437857823f11ca9e9c1f3b32302d69a3a84d0be1fee1e1c86874355031b8fa6b40f4ad56ecc72ad WHIRLPOOL f3ad4282a254cf1ab8d01184df787a773fa7963a42157da93bee11430263fa86166f12f051e2b11d13be99ce1f0939d565cb02a8fba93ab6afed73ca7b2c0041
|
||||
|
@ -1,24 +0,0 @@
|
||||
diff -r 71644dea35c8 src/engine-gpgsm.c
|
||||
--- a/src/engine-gpgsm.c Thu Jul 31 14:06:58 2014 +0200
|
||||
+++ b/src/engine-gpgsm.c Thu Jul 31 14:10:25 2014 +0200
|
||||
@@ -834,7 +834,7 @@
|
||||
else
|
||||
{
|
||||
*aline = newline;
|
||||
- gpgsm->colon.attic.linesize += linelen + 1;
|
||||
+ gpgsm->colon.attic.linesize = *alinelen + linelen + 1;
|
||||
}
|
||||
}
|
||||
if (!err)
|
||||
diff -r 71644dea35c8 src/engine-uiserver.c
|
||||
--- a/src/engine-uiserver.c Thu Jul 31 14:06:58 2014 +0200
|
||||
+++ b/src/engine-uiserver.c Thu Jul 31 14:10:25 2014 +0200
|
||||
@@ -699,7 +699,7 @@
|
||||
else
|
||||
{
|
||||
*aline = newline;
|
||||
- uiserver->colon.attic.linesize += linelen + 1;
|
||||
+ uiserver->colon.attic.linesize = *alinelen + linelen + 1;
|
||||
}
|
||||
}
|
||||
if (!err)
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/gpgme-1.3.2-r1.ebuild,v 1.9 2014/08/09 09:35:06 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils libtool autotools
|
||||
|
||||
DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
|
||||
HOMEPAGE="http://www.gnupg.org/related_software/gpgme"
|
||||
SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="1"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="common-lisp static-libs"
|
||||
|
||||
DEPEND="app-crypt/gnupg
|
||||
>=dev-libs/libassuan-2.0.2
|
||||
>=dev-libs/libgpg-error-1.4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.1.8-et_EE.patch"
|
||||
epatch "${FILESDIR}/${P}-CVE-2014-3564.patch"
|
||||
|
||||
eautoreconf
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--includedir="${EPREFIX}/usr/include/gpgme" \
|
||||
--with-gpg="${EPREFIX}/usr/bin/gpg" \
|
||||
--with-gpgsm="${EPREFIX}/usr/bin/gpgsm" \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
|
||||
if ! use common-lisp; then
|
||||
rm -fr "${ED}usr/share/common-lisp"
|
||||
fi
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST mg-20110905.tar.gz 138805 SHA256 1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229 SHA512 b490a5a3526d35839353e138f33ac924c5afbbf7e5c9faa20ceccb82e1dc1e6a3f0726b32bac7d43dcf8a410b1b8525067da5557cf669c52a9e32d1d2f45a8a4 WHIRLPOOL 64dd179462a8c9e53946c756a4975ffd2e5bf1758a300fa699032542a6e2470f9ed03f9fe1a88ac441cf17ac20c2575f9b6c5c1c396c5a7915564fbedfb1c854
|
||||
DIST mg-20141007.tar.gz 142915 SHA256 591adc66e4e4d620375b7fd3e40fc906135a154f06e26f12e58889e4447a9461 SHA512 f432268b206cbde0e562616a0f664a1857454a60a37cc9c56feeb33908420ae63798fc2787e076a105232515f3345943cbebc63b577f18669ac36e1f7cb77faf WHIRLPOOL edcfbf4eccaae18b9222110eb0ff7b51eb055e900fbea5e47a7f65b6226399fc37f65f737611ad676fda93c7d94ee8dbaf3f9260678648ae444299e7b059c68c
|
||||
DIST mg-20141127.tar.gz 143364 SHA256 33cccebca1cb129de5f26d74750d5a1654bd461e6ab0785703de9f16c19b0ba6 SHA512 97160f311b0409c70162dc80d72370e828db6181fa4bf11a045f01b7df8c272edeade5d6f3e2af7fa74f59152fe69130d5638b2c184974e59c4bb6fe27864d40 WHIRLPOOL 5591e36139e5da3329d9fa7f17b2e21987a8674c7c3c8edeb17bbd8c93879447374d70808af86d38de23f28f6e3b491def437b9135193abec02dc9eaae691b0b
|
||||
DIST mg-20150323.tar.gz 142105 SHA256 d71b24d47d3e1426f162e446d92dfa457df96dd47c1289419cba9fd14c2c3afb SHA512 747a04c203509cdbe84d9cea6c5be93585cdd5cb855b556ea5dee273a2923a4a68bee3f952cf92d584fcdd682049cb4442c21888304ba036851127174457351f WHIRLPOOL bdba74b62034a6613434fc3efea7b56fa1599b6059ab97dbd760b013be7dc50ab13dfcee3f5fb1f41f4c26c3f0146583680134d3809ec7977a14a28cb345c6db
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/mg/mg-20141007.ebuild,v 1.9 2015/01/02 12:33:09 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="MicroGnuEmacs, a port from the BSDs"
|
||||
HOMEPAGE="http://homepage.boetes.org/software/mg/"
|
||||
SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ppc ~ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="livecd"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
!elibc_FreeBSD? ( dev-libs/libbsd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
|
||||
# remove OpenBSD specific easter egg
|
||||
sed -i -e 's/theo\.o//' GNUmakefile || die
|
||||
sed -i -e '/theo_init/d' main.c || die
|
||||
|
||||
# fix path to tutorial in man page
|
||||
sed -i -e "s:doc/mg/:doc/${PF}/:" mg.1 || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
CURSES_LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin mg
|
||||
doman mg.1
|
||||
dodoc README tutorial
|
||||
# don't compress the tutorial, otherwise mg cannot open it
|
||||
docompress -x /usr/share/doc/${PF}/tutorial
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use livecd; then
|
||||
[[ -e ${EROOT}/usr/bin/emacs ]] || ln -s mg "${EROOT}"/usr/bin/emacs
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST lynis-1.6.4.tar.gz 171953 SHA256 886c74b591706f896149fe74adb481b58c549d32243d0cf620b46dfdd25dc66d SHA512 d0e102e4aac985460125dc26527e7902e9465e844c35253da7cc84e4c8fa19445e4b0b01d0db0b9e0f09c1929839aed33cf4b93f43c3be61490bcf11e2bbfa4b WHIRLPOOL 98275f8b014b70160e83ec6ddf0cdeec8a0e9ef78cc9dedf842a6524dabe3f44c7a42cf787d1180241a9122365cb2e1e908eedf05eab1768237fdb34322790bd
|
||||
DIST lynis-2.1.0.tar.gz 180493 SHA256 16ed596c8c283b8e4c635ada25ceb042371384ae09b3238a658ca60801a73c24 SHA512 724c9d8d619d05a893197ff5e891056db3e6d4e03a59514499de0fda9134d2387c7c31c8e16fd58d7f3c1de9ce4c00df8f48679e1e27194dbcf6d34f6be94e62 WHIRLPOOL f50c32e36ab6b31bf4f1851e9b77c3f59d08b9f609bdb48c442603e21d61547483a0620de07fbd837c4ed6ffd9fc697e9b4cfcc40c970df9568de9da91e3fb7f
|
||||
DIST lynis-2.1.1.tar.gz 181099 SHA256 d17b3cbbd305c52b9cd0d5141f41954882f398db44f26c10cb45fdaaa46a99d2 SHA512 03e694611b77cade352972360bd768355b945cf0919e445cb91eaa9801ab7501e533400c7a5b6912720fde0a90db47c3365c1f1c52aef41d84e32d6bbef8bf26 WHIRLPOOL 05a700425b94488ad1078a9c90093a4b250b7233d958183c57531f73b5431fbfb7aff315849c6451a8c2016f68018141917c3502a9cd3f1a2a41f09575ede8cd
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-2.1.1.ebuild,v 1.1 2015/07/30 08:57:55 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Security and system auditing tool"
|
||||
HOMEPAGE="http://cisofy.com/lynis/"
|
||||
SRC_URI="http://cisofy.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-shells/bash"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
# Bug 507438
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doman lynis.8
|
||||
dodoc CHANGELOG FAQ README
|
||||
|
||||
# Remove the old one during the next stabilize progress
|
||||
exeinto /etc/cron.daily
|
||||
newexe "${FILESDIR}"/lynis.cron-new lynis
|
||||
|
||||
dobashcomp extras/bash_completion.d/lynis
|
||||
|
||||
# stricter default perms - bug 507436
|
||||
diropts -m0700
|
||||
insopts -m0600
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r db/ include/ plugins/
|
||||
|
||||
dosbin lynis
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins default.prf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "A cron script has been installed to ${ROOT}etc/cron.daily/lynis."
|
||||
einfo
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST scim-1.4.11.tar.gz 2741428 SHA256 061a345e885d19d3a67e6d6529f4fa55d4bcc93c52b62b26e7c53dbdcdcf8dba SHA512 849296ec4c8a66db500ffa4fcf5b7626942cdcb00baba853c24bc2e048e7fd3055898da786b725951884e146171ca585abe1cf2c084081e1807e4eb0db4c5e00 WHIRLPOOL 72f97a62b441d49f4dbd1d37def90981402ea4e26b1e069669026db6d7144bbefc0852c38c86d4f91befff24f6f0585a4b96618a2462e61bc4a4154a60e00206
|
||||
DIST scim-1.4.14.tar.gz 1519287 SHA256 e91e4cfed92f3e19d229f702eda03038b3f9a0ce6c4e625b0be51134c19b7678 SHA512 00fe7a1b40b69aae123c0a1e67eb3744ad1e6b1e66726bb011a7426bd28012c52b346c62f08c7ecf0977ac3e88ee416337c9fa89b39142d5eea338d99641f5df WHIRLPOOL cb32326b30ff17ca4815267898de715e50893e77c28a48c55cf708f818fff4aea9e2114f982302c0fd6fd4e1fc45f2ca8490603db0de49ed4159914e1edd516d
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- a/extras/gtk2_immodule/gtkimcontextscim.cpp 2011-11-09 17:08:21.000000000 -0800
|
||||
+++ b/extras/gtk2_immodule/gtkimcontextscim.cpp 2011-11-09 17:07:51.000000000 -0800
|
||||
@@ -447,6 +447,7 @@
|
||||
"GtkIMContextSCIM",
|
||||
&im_context_scim_info,
|
||||
(GTypeFlags) 0);
|
||||
+ g_type_module_use (type_module);
|
||||
}
|
||||
}
|
||||
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/scim-1.4.11-r1.ebuild,v 1.10 2012/08/05 18:03:20 armin76 Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit eutils flag-o-matic multilib gnome2-utils
|
||||
|
||||
DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform"
|
||||
HOMEPAGE="http://www.scim-im.org/"
|
||||
SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:2
|
||||
>=dev-libs/atk-1
|
||||
>=x11-libs/pango-1
|
||||
!app-i18n/scim-cvs"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen
|
||||
>=app-text/docbook-xsl-stylesheets-1.73.1 )
|
||||
dev-lang/perl
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.33
|
||||
sys-devel/libtool"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-type-module-use.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
# bug #83625
|
||||
filter-flags -fvisibility-inlines-hidden
|
||||
filter-flags -fvisibility=hidden
|
||||
|
||||
econf \
|
||||
$(use_with doc doxygen) \
|
||||
--enable-ld-version-script \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-${PN}" > "${T}/${PN}.conf" || die
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
doins "${T}/${PN}.conf" || die
|
||||
|
||||
dodoc README AUTHORS ChangeLog docs/developers docs/scim.cfg || die
|
||||
use doc && dohtml -r docs/html/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "To use SCIM with both GTK2 and XIM, you should use the following"
|
||||
elog "in your user startup scripts such as .gnomerc or .xinitrc:"
|
||||
elog
|
||||
elog "LANG='your_language' scim -d"
|
||||
elog "export XMODIFIERS=@im=SCIM"
|
||||
elog "export GTK_IM_MODULE=\"scim\""
|
||||
elog "export QT_IM_MODULE=\"scim\""
|
||||
elog
|
||||
elog "where 'your_language' can be zh_CN, zh_TW, ja_JP.eucJP or any other"
|
||||
elog "UTF-8 locale such as en_US.UTF-8 or ja_JP.UTF-8"
|
||||
elog
|
||||
elog "To use Chinese input methods:"
|
||||
elog " # emerge app-i18n/scim-tables app-i18n/scim-pinyin"
|
||||
elog "To use Korean input methods:"
|
||||
elog " # emerge app-i18n/scim-hangul"
|
||||
elog "To use Japanese input methods:"
|
||||
elog " # emerge app-i18n/scim-anthy"
|
||||
elog "To use various input methods (more than 30 languages):"
|
||||
elog " # emerge app-i18n/scim-m17n"
|
||||
elog
|
||||
elog "Please modify ${EPREFIX}/etc/scim/global and add your UTF-8 locale to"
|
||||
elog "/SupportedUnicodeLocales entry."
|
||||
elog
|
||||
ewarn
|
||||
ewarn "If you upgraded from scim-1.2.x or scim-1.0.x, you should remerge all SCIM modules."
|
||||
ewarn
|
||||
|
||||
gnome2_query_immodules_gtk2
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_query_immodules_gtk2
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ckb-0.1.5.tar.gz 370107 SHA256 944e2735ca397287fbbadcff4f6946a7bcfd2a1a4d12f5e121a79e6b4fd39f8a SHA512 2f6b876e09c3f012c09d7d0f80ce21c80325d2588427074aeb9eb287b2aae58fdb66290bbd3643eeb7d6523d8230b6787c6517dd8a996db5af13c00fc8e84414 WHIRLPOOL 2b3fe82e407246487464d3888b908126c034965f6cdd89fd9155e3cc64d6dee9e6b388c4f7ce83e9085992d663a8f773b5582a56da95e8460cba97a1af5364cd
|
||||
DIST ckb-0.1.6.tar.gz 370076 SHA256 f837bb77af858be6a5e201f807a1270fc28a5f7dcc307fe48e7afc3a11fde4f5 SHA512 e529259e818460cd4abb58d5ca11caa3adb4b8df19095bbe6c801e969d911a9004ea83faf1c36d88a88cc0545a03086f2020f124edc22cffbebc274a637a7556 WHIRLPOOL 3a26fc3e3d33c2d33dea1dee7fab6c41a1b5d24cf9b4bdb7e7b04271f37f8dd24201b5041e9e8556a9cd2c20744386adcb683d5d6c966a21be764b68ce8badb3
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ckb/ckb-0.1.6.ebuild,v 1.1 2015/07/30 11:17:35 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qmake-utils systemd
|
||||
|
||||
DESCRIPTION="Corsair K65/K70/K95 Driver"
|
||||
HOMEPAGE="https://github.com/ccMSC/ckb"
|
||||
SRC_URI="https://github.com/ccMSC/ckb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/quazip[qt5]
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md BUILD.md DAEMON.md )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/-Werror=all//" src/ckb-daemon/ckb-daemon.pro || die
|
||||
sed -i -e "/quazip/d" -e "s/^.*QUAZIP_STATIC/LIBS += -lquazip/" src/ckb/ckb.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/ckb bin/ckb-daemon
|
||||
dodir /usr/bin/ckb-animations
|
||||
exeinto /usr/bin/ckb-animations
|
||||
doexe bin/ckb-animations/*
|
||||
|
||||
newinitd "${FILESDIR}"/ckb.initd ckb-daemon
|
||||
domenu usr/ckb.desktop
|
||||
doicon usr/ckb.png
|
||||
systemd_dounit service/systemd/ckb-daemon.service
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/gnuit/gnuit-4.9.5-r1.ebuild,v 1.3 2011/01/05 15:15:34 jlec Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="GNU Interactive Tools - increase speed and efficiency of most daily tasks"
|
||||
HOMEPAGE="http://www.gnu.org/software/gnuit/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
src_configure() {
|
||||
# The transition option controls whether a "git" wrapper is installed, it is
|
||||
# disabled explicitly so we don't need to block on dev-vcs/git.
|
||||
econf --disable-transition
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" htmldir="/usr/share/doc/${PF}/html" install \
|
||||
|| die "emake install failed"
|
||||
mv "${D}/usr/bin/gitview" "${D}/usr/bin/gnuitview" || die
|
||||
dodoc AUTHORS NEWS PROBLEMS README || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The 'git' tool this package previously installed is now called 'gitfm'"
|
||||
elog "The 'gitview' tool this package previously installed is now called 'gnuitview'"
|
||||
elog "If you want the 'gitaction' tool to use your preferred desktop"
|
||||
elog "application settings install the 'x11-misc/xdg-utils' package."
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST homebank-4.5.6.tar.gz 1850268 SHA256 dbff6282a8a81d9dd6ff47dff950f164d69da81147e7d94a516230c23de8a5e8 SHA512 f5c16cf637223e1cd454470a6c71222aafcb77ddf3f04b00a4c885bd0249a0de8e0e2148ee598552e85cb9aa76a02dbde3a2880c055a287c08ed3e5d1afd9ce3 WHIRLPOOL af510d4633f8c52d66b49896c8d06c45e03d851e6dc4ca7d66ba2b45fd3d46628b60e40c366f3ba254c3c643bf726ed25b804f51c46e0d2f31e1c5cc912cf1bd
|
||||
DIST homebank-4.5.tar.gz 1874660 SHA256 3c6dcb19fd975037857f84fd6a186a5b0b84f590f37ead0d37868fa484c6e547 SHA512 b9cec51bbe468271b23becc007144a488aac89d2d790fcb09f5fec4c11858193d2a7041a5af2d79931c3468e715d04bb3c235913cd00a1fe4f5b765803c012f1 WHIRLPOOL 05cbfdb4e8a4e7fa69eec2d2078a847a247c0e49aea617ce648f94e94d03d330c13dd715ca7a82ca0d5048527ee819d0bda166dea6fdcbcdcc76e8c9bd339d98
|
||||
DIST homebank-4.6.3.tar.gz 1899045 SHA256 f6e31bb789d626b507c2af9d176a0bac0cbaec770ede73048ba7a6df113a6948 SHA512 aab7374d90ffc52a40188eb334fc9b3461c299014d6134f236488991400fffe9f6dcb69247501857fe4caafbb08f0c5d729211b13551203f1231d136e99e024d WHIRLPOOL e8f6a421c64eb1bf6f2d97910e4687b00cf794fd27c8aff83ce9d39e18393cccca1984e73a44110ff5e87427fd0ed74963dcb997490d97614116800100daca5b
|
||||
DIST homebank-5.0.0.tar.gz 2553476 SHA256 28d4342d989997ce63acdf5b92354f6142bb6d87d57fc37dd7610beb73305918 SHA512 85fbd42658c5427a69d69b11394ba5d7a4eedf05ab6b480399a5bf253822175f91eeac874b271b816b7bd44a387f40fd6c686f791b3575f5cf02465fd10a50a2 WHIRLPOOL ea46a06b7f08b85976d9b1c61843188bc2f9dd2e5075707be263f46eed8719ccc1aca15c246276972f7fc6fbf707c9e5364da334869cc166c8eb43445398c504
|
||||
DIST homebank-5.0.3.tar.gz 2551525 SHA256 eac04a19f5d7644a5bf254a22f737d562b41503f280e339192f39745bf0d7839 SHA512 727802950570aac29c9a578c6332cad3cf4c9d71a8f059db9ff4acec7fca5e85148b4aad8eea825dcf76cf751e44b4ab94be5c6c70fa09b0ddc7d40948ea4ac5 WHIRLPOOL 937f3734e97d3294633192dab593c1042ea550eb1fce70b85f37c3980eef65c1a63a392da86bfe9bcebab77efa556a77db3eeef21b41e637eed4e29a0d6cfa5c
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/homebank/homebank-4.5.ebuild,v 1.5 2014/02/08 12:08:34 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit fdo-mime eutils
|
||||
|
||||
DESCRIPTION="Free, easy, personal accounting for everyone"
|
||||
HOMEPAGE="http://homebank.free.fr/index.php"
|
||||
SRC_URI="http://homebank.free.fr/public/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+ofx"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.20:2
|
||||
>=dev-libs/glib-2.17
|
||||
ofx? ( >=dev-libs/libofx-0.7 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.40.5"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ofx)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Installation failed"
|
||||
dodoc AUTHORS ChangeLog README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST go-resiliency-1.0.0.tar.gz 9504 SHA256 b4f5a9926e8b68f13e506001a9f52c1e3083a2ed171722ac857a4840d7c36486 SHA512 3847a9280543796fa3b5569d817e580f55819aa99e04a7737b235cb8ef578db018c51537f292e3f59ed10004cb0a7eabdf9870000fff25af4bf6d2af70510657 WHIRLPOOL 41404cb044e0a64608ffe58da2d77d8ed87606d58f408114e6e461e537cf5cb05460a95bee36a7d73e4be34cb6222c90eb97777d1cf13a40f88cc5101d21333d
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-go/go-resiliency/go-resiliency-1.0.0.ebuild,v 1.3 2015/07/30 20:45:07 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGO_SRC=github.com/eapache/go-resiliency
|
||||
EGO_PN=${EGO_SRC}/...
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://${EGO_SRC}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="Resiliency patterns for golang"
|
||||
HOMEPAGE="https://${EGO_SRC}"
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
src_unpack() {
|
||||
local f
|
||||
|
||||
for f in ${A}
|
||||
do
|
||||
case "${f}" in
|
||||
*.tar|*.tar.gz|*.tar.bz2|*.tar.xz)
|
||||
local destdir=${WORKDIR}/${P}/src/${EGO_SRC}
|
||||
|
||||
debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}"
|
||||
|
||||
# XXX: check whether the directory structure inside is
|
||||
# fine? i.e. if the tarball has actually a parent dir.
|
||||
mkdir -p "${destdir}" || die
|
||||
tar -C "${destdir}" -x --strip-components 1 \
|
||||
-f "${DISTDIR}/${f}" || die
|
||||
;;
|
||||
*)
|
||||
debug-print "${FUNCNAME}: falling back to unpack for ${f}"
|
||||
|
||||
# fall back to the default method
|
||||
unpack "${f}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
fi
|
||||
|
||||
src_install() {
|
||||
rm -rf src/${EGO_SRC}/.git* || die
|
||||
golang-build_src_install
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-go/go-resiliency/go-resiliency-9999.ebuild,v 1.3 2015/07/30 20:45:07 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGO_SRC=github.com/eapache/go-resiliency
|
||||
EGO_PN=${EGO_SRC}/...
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://${EGO_SRC}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="Resiliency patterns for golang"
|
||||
HOMEPAGE="https://${EGO_SRC}"
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
src_unpack() {
|
||||
local f
|
||||
|
||||
for f in ${A}
|
||||
do
|
||||
case "${f}" in
|
||||
*.tar|*.tar.gz|*.tar.bz2|*.tar.xz)
|
||||
local destdir=${WORKDIR}/${P}/src/${EGO_SRC}
|
||||
|
||||
debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}"
|
||||
|
||||
# XXX: check whether the directory structure inside is
|
||||
# fine? i.e. if the tarball has actually a parent dir.
|
||||
mkdir -p "${destdir}" || die
|
||||
tar -C "${destdir}" -x --strip-components 1 \
|
||||
-f "${DISTDIR}/${f}" || die
|
||||
;;
|
||||
*)
|
||||
debug-print "${FUNCNAME}: falling back to unpack for ${f}"
|
||||
|
||||
# fall back to the default method
|
||||
unpack "${f}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
fi
|
||||
|
||||
src_install() {
|
||||
rm -rf src/${EGO_SRC}/.git* || die
|
||||
golang-build_src_install
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>zmedico@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">eapache/go-resiliency</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST go-spew-0_pre20150619.tar.gz 41714 SHA256 e064d12586e3685d32eb0bd125b9e4c19291fdcc07bd21e067593cbc81525e1c SHA512 84ec5cbf26b59d6380d09b4e053427d8c8b93555e43de4a95d373b7fb1edc647f0c950caaacf451c03872171d138e717b1fa9a1ea0f14208a9a5197bd83ce037 WHIRLPOOL 31f9823776b77317b26a256ba3615cf7aeae4c3d46f54b2840ed742770369a15bfa8a972252229eaa907e16c40a18573e1df748a99c86bf244ed4b43d86db409
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-go/go-spew/go-spew-0_pre20150619.ebuild,v 1.1 2015/07/30 20:31:56 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGO_SRC=github.com/davecgh/${PN}
|
||||
EGO_PN=${EGO_SRC}/...
|
||||
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
EGIT_COMMIT="2df174808ee097f90d259e432cc04442cf60be21"
|
||||
SRC_URI="https://${EGO_SRC}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="Implements a deep pretty printer for Go data structures to aid in debugging"
|
||||
HOMEPAGE="https://${EGO_SRC}"
|
||||
LICENSE="ISC"
|
||||
SLOT="0/${PV}"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
src_unpack() {
|
||||
local f
|
||||
|
||||
for f in ${A}
|
||||
do
|
||||
case "${f}" in
|
||||
*.tar|*.tar.gz|*.tar.bz2|*.tar.xz)
|
||||
local destdir=${WORKDIR}/${P}/src/${EGO_SRC}
|
||||
|
||||
debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}"
|
||||
|
||||
# XXX: check whether the directory structure inside is
|
||||
# fine? i.e. if the tarball has actually a parent dir.
|
||||
mkdir -p "${destdir}" || die
|
||||
tar -C "${destdir}" -x --strip-components 1 \
|
||||
-f "${DISTDIR}/${f}" || die
|
||||
;;
|
||||
*)
|
||||
debug-print "${FUNCNAME}: falling back to unpack for ${f}"
|
||||
|
||||
# fall back to the default method
|
||||
unpack "${f}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
fi
|
||||
|
||||
src_install() {
|
||||
rm -rf src/${EGO_SRC}/.git* || die
|
||||
golang-build_src_install
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-go/go-spew/go-spew-9999.ebuild,v 1.1 2015/07/30 20:31:56 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGO_SRC=github.com/davecgh/${PN}
|
||||
EGO_PN=${EGO_SRC}/...
|
||||
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
EGIT_COMMIT="2df174808ee097f90d259e432cc04442cf60be21"
|
||||
SRC_URI="https://${EGO_SRC}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="Implements a deep pretty printer for Go data structures to aid in debugging"
|
||||
HOMEPAGE="https://${EGO_SRC}"
|
||||
LICENSE="ISC"
|
||||
SLOT="0/${PV}"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
src_unpack() {
|
||||
local f
|
||||
|
||||
for f in ${A}
|
||||
do
|
||||
case "${f}" in
|
||||
*.tar|*.tar.gz|*.tar.bz2|*.tar.xz)
|
||||
local destdir=${WORKDIR}/${P}/src/${EGO_SRC}
|
||||
|
||||
debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}"
|
||||
|
||||
# XXX: check whether the directory structure inside is
|
||||
# fine? i.e. if the tarball has actually a parent dir.
|
||||
mkdir -p "${destdir}" || die
|
||||
tar -C "${destdir}" -x --strip-components 1 \
|
||||
-f "${DISTDIR}/${f}" || die
|
||||
;;
|
||||
*)
|
||||
debug-print "${FUNCNAME}: falling back to unpack for ${f}"
|
||||
|
||||
# fall back to the default method
|
||||
unpack "${f}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
fi
|
||||
|
||||
src_install() {
|
||||
rm -rf src/${EGO_SRC}/.git* || die
|
||||
golang-build_src_install
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>zmedico@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">davecgh/go-spew</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue