parent
a665ef8e21
commit
8597283b89
@ -1,330 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.3-r2.ebuild,v 1.16 2012/01/06 16:40:00 halcy0n Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}a.tar.bz2
|
||||
mirror://gentoo/${P}-patches-2.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3 BSD as-is MIT W3C unicode PSF-2 Emacs-23-CEDET-grammars"
|
||||
SLOT="23"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="alsa aqua athena dbus gconf gif gpm gtk gzip-el hesiod jpeg kerberos livecd m17n-lib motif png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="aqua? ( !X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.2
|
||||
net-libs/liblockfile
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gpm? ( sys-libs/gpm )
|
||||
dbus? ( sys-apps/dbus )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
!gtk? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? (
|
||||
athena? ( x11-libs/libXaw )
|
||||
!athena? ( motif? ( >=x11-libs/openmotif-2.3:0 ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}
|
||||
>=app-emacs/emacs-common-gentoo-1[X?]"
|
||||
|
||||
EMACS_SUFFIX="emacs-${SLOT}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
epatch_user
|
||||
|
||||
sed -i \
|
||||
-e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
|
||||
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
|
||||
"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
|
||||
|
||||
if ! use alsa; then
|
||||
# ALSA is detected even if not requested by its USE flag.
|
||||
# Suppress it by supplying pkg-config with a wrong library name.
|
||||
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
if ! use gzip-el; then
|
||||
# Emacs' build system automatically detects the gzip binary and
|
||||
# compresses el files. We don't want that so confuse it with a
|
||||
# wrong binary name
|
||||
sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ALLOWED_FLAGS=""
|
||||
strip-flags
|
||||
filter-flags -fstrict-aliasing
|
||||
append-flags $(test-flags -fno-strict-aliasing)
|
||||
|
||||
if use sh; then
|
||||
replace-flags -O[1-9] -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags -O[2-9] -O1 #325373
|
||||
else
|
||||
replace-flags -O[3-9] -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa && ! use sound; then
|
||||
einfo "Although sound USE flag is disabled you chose to have alsa,"
|
||||
einfo "so sound is switched on anyway."
|
||||
myconf="${myconf} --with-sound"
|
||||
else
|
||||
myconf="${myconf} $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf="${myconf} --with-x --without-ns"
|
||||
myconf="${myconf} $(use_with gconf)"
|
||||
myconf="${myconf} $(use_with toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with gif) $(use_with jpeg)"
|
||||
myconf="${myconf} $(use_with png) $(use_with svg rsvg)"
|
||||
myconf="${myconf} $(use_with tiff) $(use_with xpm)"
|
||||
|
||||
if use xft; then
|
||||
myconf="${myconf} --with-xft"
|
||||
myconf="${myconf} $(use_with m17n-lib libotf)"
|
||||
myconf="${myconf} $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf="${myconf} --without-xft"
|
||||
myconf="${myconf} --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
# GTK+ is the default toolkit if USE=gtk is chosen with other
|
||||
# possibilities. Emacs upstream thinks this should be standard
|
||||
# policy on all distributions
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=gtk"
|
||||
elif use Xaw3d || use athena; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=motif"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=no"
|
||||
fi
|
||||
|
||||
local f tk=
|
||||
for f in gtk Xaw3d athena motif; do
|
||||
use ${f} || continue
|
||||
[[ ${tk} ]] \
|
||||
&& ewarn "USE flag \"${f}\" ignored (superseded by \"${tk}\")"
|
||||
tk="${tk}${tk:+ }${f}"
|
||||
done
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Cocoa support"
|
||||
myconf="${myconf} --with-ns --disable-ns-self-contained"
|
||||
myconf="${myconf} --without-x"
|
||||
else
|
||||
myconf="${myconf} --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# According to configure, this option is only used for GNU/Linux
|
||||
# (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
|
||||
# out the location because $(get_libdir) does not necessarily return
|
||||
# something that matches the host OS's libdir naming (e.g. RHEL).
|
||||
local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
|
||||
crtdir=${crtdir%/*}
|
||||
|
||||
econf \
|
||||
--program-suffix=-${EMACS_SUFFIX} \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--with-crt-dir="${crtdir}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
# set last component of emacs-version to (package revision + 1)
|
||||
touch src/emacs-${FULL_VERSION}.${PR#r}
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
local i m
|
||||
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
rm "${ED}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \
|
||||
|| die "removing duplicate emacs executable failed"
|
||||
mv "${ED}"/usr/bin/emacs-${EMACS_SUFFIX} "${ED}"/usr/bin/${EMACS_SUFFIX} \
|
||||
|| die "moving Emacs executable failed"
|
||||
|
||||
# move man pages to the correct place
|
||||
for m in "${ED}"/usr/share/man/man1/* ; do
|
||||
mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
|
||||
done
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||
rm "${ED}"/var/lib/games/emacs/{snake,tetris}-scores
|
||||
keepdir /var/lib/games/emacs
|
||||
|
||||
local c=";;"
|
||||
if use source; then
|
||||
insinto /usr/share/emacs/${FULL_VERSION}/src
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
doins -r src/{m,s}
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/Makefile.c
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/{m,s}/README
|
||||
c=""
|
||||
fi
|
||||
|
||||
sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
X ${c}(setq find-function-C-source-directory
|
||||
X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
elog "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
|
||||
elog "You may want to copy or symlink it into /Applications by yourself."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
else
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local f
|
||||
for f in "${EROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
|
||||
[[ -e ${f} ]] || touch "${f}"
|
||||
done
|
||||
chown "${GAMES_USER_DED:-games}" "${EROOT}"/var/lib/games/emacs
|
||||
|
||||
elisp-site-regen
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
elog "You need to install some fonts for Emacs."
|
||||
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
|
||||
elog "machine would satisfy basic Emacs requirements under X11."
|
||||
elog "See also http://www.gentoo.org/proj/en/lisp/emacs/xft.xml"
|
||||
elog "for how to enable anti-aliased fonts."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "You can set the version to be started by /usr/bin/emacs through"
|
||||
elog "the Emacs eselect module, which also redirects man and info pages."
|
||||
elog "Therefore, several Emacs versions can be installed at the same time."
|
||||
elog "\"man emacs.eselect\" for details."
|
||||
elog
|
||||
elog "If you upgrade from a previous major version of Emacs, then it is"
|
||||
elog "strongly recommended that you use app-admin/emacs-updater to rebuild"
|
||||
elog "all byte-compiled elisp files of the installed Emacs packages."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST emacs-common-gentoo-1.2.tar.gz 46622 RMD160 88c923d05286b53687e1099294fb579a2f4f5d39 SHA1 4712b6186d4620aaa5258236367d3228f515f341 SHA256 d15f9654214b10e9efc9e38fe45b4e08c3f0cc1c975de34058e4d360d3053108
|
||||
DIST emacs-common-gentoo-1.3.tar.gz 46819 RMD160 40c12dd355c3fd80ad65d45190c4f3c7f2134ad6 SHA1 ff743a4646d493dd14ed1e812d3adfd6323498e9 SHA256 c874088b1d9833432e1da9c3e3f79e7891cb3af41bcdecb02aa299d207c0218d
|
||||
|
@ -1,137 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.2-r2.ebuild,v 1.9 2011/07/15 14:29:24 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp-common eutils fdo-mime gnome2-utils
|
||||
|
||||
DESCRIPTION="Common files needed by all GNU Emacs versions"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="X emacs22icons"
|
||||
|
||||
PDEPEND="virtual/emacs"
|
||||
|
||||
pkg_setup() {
|
||||
if [ -e "${EROOT}${SITELISP}/subdirs.el" ] \
|
||||
&& ! has_version ">=${CATEGORY}/${PN}-1"
|
||||
then
|
||||
ewarn "Removing orphan subdirs.el (installed by old Emacs ebuilds)"
|
||||
rm -f "${EROOT}${SITELISP}/subdirs.el"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install . subdirs.el || die
|
||||
|
||||
if use X; then
|
||||
local i
|
||||
domenu emacs.desktop emacsclient.desktop || die
|
||||
newicon icons/sink.png emacs-sink.png || die
|
||||
if use emacs22icons; then
|
||||
newicon icons/emacs22_48.png emacs.png || die
|
||||
for i in 16 24 32 48; do
|
||||
insinto /usr/share/icons/hicolor/${i}x${i}/apps
|
||||
newins icons/emacs22_${i}.png emacs.png
|
||||
done
|
||||
else
|
||||
newicon icons/emacs_48.png emacs.png || die
|
||||
for i in 16 24 32 48 128; do
|
||||
insinto /usr/share/icons/hicolor/${i}x${i}/apps
|
||||
newins icons/emacs_${i}.png emacs.png
|
||||
done
|
||||
insinto /usr/share/icons/hicolor/scalable/apps
|
||||
doins icons/emacs.svg
|
||||
fi
|
||||
gnome2_icon_savelist
|
||||
fi
|
||||
}
|
||||
|
||||
make-site-start() {
|
||||
ebegin "Creating default ${SITELISP}/site-start.el"
|
||||
cat <<-EOF >"${T}/site-start.el"
|
||||
;;; site-start.el -*- no-byte-compile: t -*-
|
||||
|
||||
;;; Commentary:
|
||||
;; This default site startup file for Emacs was created by package
|
||||
;; ${CATEGORY}/${PF}. You may modify this file, replace
|
||||
;; it by your own site initialisation, or even remove it completely.
|
||||
|
||||
;;; Code:
|
||||
;; Load site initialisation for Gentoo installed packages.
|
||||
(require 'site-gentoo)
|
||||
|
||||
;;; site-start.el ends here
|
||||
EOF
|
||||
mv "${T}/site-start.el" "${EROOT}${SITELISP}/site-start.el"
|
||||
eend $? "Installation of site-start.el failed"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
# make sure that site-gentoo.el exists since site-start.el requires it
|
||||
elisp-site-regen
|
||||
|
||||
if [ ! -e "${EROOT}${SITELISP}/site-start.el" ]; then
|
||||
echo
|
||||
einfo "Press ENTER to create a default site-start.el file"
|
||||
einfo "for GNU Emacs, or Control-C to abort now ..."
|
||||
read
|
||||
make-site-start
|
||||
else
|
||||
einfo "site-start.el for GNU Emacs already exists."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X; then
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
|
||||
# make sure that site-gentoo.el exists since site-start.el requires it
|
||||
elisp-site-regen
|
||||
|
||||
if [ ! -e "${EROOT}${SITELISP}/site-start.el" ]; then
|
||||
local line
|
||||
echo
|
||||
while read line; do elog "${line:- }"; done <<-EOF
|
||||
All site initialisation for Gentoo-installed packages is added to
|
||||
/usr/share/emacs/site-lisp/site-gentoo.el. In order for this site
|
||||
initialisation to be loaded for all users automatically, a default
|
||||
site-start.el is created in the same directory. You are responsible
|
||||
for all further maintenance of this file.
|
||||
|
||||
Alternatively, individual users can add the following command:
|
||||
|
||||
(require 'site-gentoo)
|
||||
|
||||
to their ~/.emacs initialisation files, or, for greater flexibility,
|
||||
users may load single package-specific initialisation files from
|
||||
/usr/share/emacs/site-lisp/site-gentoo.d/.
|
||||
EOF
|
||||
echo
|
||||
|
||||
if [ -z "${REPLACING_VERSIONS}" ]; then
|
||||
# This is a new install. Create default site-start.el, so that
|
||||
# Gentoo packages will work.
|
||||
make-site-start
|
||||
else
|
||||
# This package was already installed, but site-start.el does
|
||||
# not exist. Give a hint how to (re-)create it.
|
||||
elog "If this is a new install, you may want to run:"
|
||||
elog "emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use X; then
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST eix-0.22.11.tar.xz 438672 RMD160 8b6496d7409bf2347f736acc998142aee4397165 SHA1 94e9a9c290ef4e6d4668b165a52bddd3860d6a4c SHA256 48e78234b4c0233b1e4532f77f941300b41dba892835738ad3c17a463564606d
|
||||
DIST eix-0.23.3.tar.xz 443364 RMD160 ad7b6842ceeaa4d93bdf7fa6fcdc85f773b54970 SHA1 55d9a6ef2ebf07ba4293b9b2b78443658c47b12f SHA256 c9525a4f8605250469600667e364e2d9325d7964b3476653bb8908f28cccb828
|
||||
DIST eix-0.23.5.tar.xz 435444 RMD160 acef319cb179a5b2db8e5c625609192746b83bf3 SHA1 2cf6eb11da4fd0fc3cd5437d5f98093b8de7d92b SHA256 bfb885812317fcd96161d4cd33b7f2095b68cec2ef6b525f18c97343f807514a
|
||||
DIST eix-0.23.6.tar.xz 435896 RMD160 8e8206061caf8012b6c9d7060cb5122c3ba1e378 SHA1 e63aa2d593b2855657d8efc832d7912bfee5da6a SHA256 cb94d417874ced2d219aeb4bc06b2669a34473bfd12731db41610a9678acd9c6
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.23.6.ebuild,v 1.1 2012/01/16 02:58:56 darkside Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib bash-completion-r1
|
||||
|
||||
DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
|
||||
HOMEPAGE="http://eix.berlios.de"
|
||||
SRC_URI="mirror://berlios/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="debug doc nls optimization security strong-optimization sqlite tools zsh-completion"
|
||||
|
||||
RDEPEND="sqlite? ( >=dev-db/sqlite-3 )
|
||||
nls? ( virtual/libintl )
|
||||
zsh-completion? ( !!<app-shells/zsh-completion-20091203-r1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sqlite) $(use_with doc extra-doc) \
|
||||
$(use_with zsh-completion) \
|
||||
$(use_enable nls) $(use_enable tools separate-tools) \
|
||||
$(use_enable security) $(use_enable optimization) \
|
||||
$(use_enable strong-optimization) $(use_enable debug debugging) \
|
||||
$(use_with prefix always-accept-keywords) \
|
||||
--without-bzip2 \
|
||||
--with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
|
||||
--with-portage-rootpath="${ROOTPATH}" \
|
||||
--with-eprefix-default="${EPREFIX}" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST srecord-1.42.tar.gz 476871 RMD160 708aa6ff5815502dde53ec00cdf5eb186194e689 SHA1 76001868ce6da65e3f7232fd5ec39313471776ae SHA256 55c3783ec1775e38bcc2c18befaf204c782f1f496df1c2e2d45367ce53a64d21
|
||||
DIST srecord-1.57.tar.gz 860771 RMD160 7484c001645f25c46e5d80b6ec75283d0323920a SHA1 a29e5141c354e65488435b99afc7748c5b8b6e17 SHA256 bd6031b5463b77fd15062452fc5fd582a1d4efea2f42275653b3989c4b642feb
|
||||
DIST srecord-1.58.tar.gz 885087 RMD160 6bd075c0b05a41f6c8412699a40d7c7943a485e2 SHA1 874be40c330ec09165f199aaec1f079e196156f0 SHA256 aab04a1a9f3d921f9c88a86354719bfaeb3ee0bf0b6970979c96ecfc726351e1
|
||||
|
@ -1,101 +0,0 @@
|
||||
diff -ur srecord-1.42.orig/lib/arglex.cc srecord-1.42/lib/arglex.cc
|
||||
--- srecord-1.42.orig/lib/arglex.cc 2008-06-02 01:38:46.000000000 +0300
|
||||
+++ srecord-1.42/lib/arglex.cc 2009-07-25 21:58:48.000000000 +0300
|
||||
@@ -16,6 +16,7 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
|
||||
+#include <cstdio>
|
||||
#include <cctype>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
diff -ur srecord-1.42.orig/lib/interval.cc srecord-1.42/lib/interval.cc
|
||||
--- srecord-1.42.orig/lib/interval.cc 2008-06-02 01:38:46.000000000 +0300
|
||||
+++ srecord-1.42/lib/interval.cc 2009-07-25 22:01:00.000000000 +0300
|
||||
@@ -18,6 +18,8 @@
|
||||
//
|
||||
|
||||
|
||||
+#include <cstdio>
|
||||
+
|
||||
#include <lib/interval.h>
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
diff -ur srecord-1.42.orig/lib/quit/normal.cc srecord-1.42/lib/quit/normal.cc
|
||||
--- srecord-1.42.orig/lib/quit/normal.cc 2008-06-02 01:38:46.000000000 +0300
|
||||
+++ srecord-1.42/lib/quit/normal.cc 2009-07-25 22:01:57.000000000 +0300
|
||||
@@ -17,6 +17,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
|
||||
+#include <cstdio>
|
||||
#include <cstdarg>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
diff -ur srecord-1.42.orig/lib/srec/input/file.cc srecord-1.42/lib/srec/input/file.cc
|
||||
--- srecord-1.42.orig/lib/srec/input/file.cc 2008-06-02 01:38:46.000000000 +0300
|
||||
+++ srecord-1.42/lib/srec/input/file.cc 2009-07-25 22:03:08.000000000 +0300
|
||||
@@ -17,6 +17,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
|
||||
+#include <cstdio>
|
||||
|
||||
#include <errno.h>
|
||||
#include <iostream>
|
||||
diff -ur srecord-1.42.orig/lib/srec/input/generator/constant.cc srecord-1.42/lib/srec/input/generator/constant.cc
|
||||
--- srecord-1.42.orig/lib/srec/input/generator/constant.cc 2008-06-02 01:38:46.000000000 +0300
|
||||
+++ srecord-1.42/lib/srec/input/generator/constant.cc 2009-07-25 22:04:11.000000000 +0300
|
||||
@@ -17,6 +17,8 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
|
||||
+#include <cstdio>
|
||||
+
|
||||
#include <lib/srec/input/generator/constant.h>
|
||||
|
||||
|
||||
diff -ur srecord-1.42.orig/lib/srec/output/file/asm.cc srecord-1.42/lib/srec/output/file/asm.cc
|
||||
--- srecord-1.42.orig/lib/srec/output/file/asm.cc 2008-06-02 01:38:46.000000000 +0300
|
||||
+++ srecord-1.42/lib/srec/output/file/asm.cc 2009-07-25 22:08:49.000000000 +0300
|
||||
@@ -17,6 +17,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
|
||||
+#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
#include <lib/interval.h>
|
||||
diff -ur srecord-1.42.orig/lib/srec/output/file/basic.cc srecord-1.42/lib/srec/output/file/basic.cc
|
||||
--- srecord-1.42.orig/lib/srec/output/file/basic.cc 2008-06-02 01:38:46.000000000 +0300
|
||||
+++ srecord-1.42/lib/srec/output/file/basic.cc 2009-07-25 22:14:36.000000000 +0300
|
||||
@@ -17,6 +17,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
|
||||
+#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
#include <lib/interval.h>
|
||||
diff -ur srecord-1.42.orig/lib/srec/output/file.cc srecord-1.42/lib/srec/output/file.cc
|
||||
--- srecord-1.42.orig/lib/srec/output/file.cc 2008-06-02 01:38:46.000000000 +0300
|
||||
+++ srecord-1.42/lib/srec/output/file.cc 2009-07-25 22:07:17.000000000 +0300
|
||||
@@ -17,6 +17,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
|
||||
+#include <cstdio>
|
||||
|
||||
#include <errno.h>
|
||||
#include <iostream>
|
||||
diff -ur srecord-1.42.orig/lib/srec/output.cc srecord-1.42/lib/srec/output.cc
|
||||
--- srecord-1.42.orig/lib/srec/output.cc 2008-06-02 01:38:46.000000000 +0300
|
||||
+++ srecord-1.42/lib/srec/output.cc 2009-07-25 22:05:56.000000000 +0300
|
||||
@@ -17,6 +17,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
|
||||
+#include <cstdio>
|
||||
#include <cerrno>
|
||||
#include <cstring>
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/srecord/srecord-1.42.ebuild,v 1.2 2009/07/25 19:21:34 ssuominen Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A collection of powerful tools for manipulating EPROM load files."
|
||||
HOMEPAGE="http://srecord.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-libs/boost
|
||||
test? ( app-arch/sharutils )"
|
||||
RDEPEND=""
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch "${FILESDIR}"/${P}-gcc44.patch
|
||||
sed -i \
|
||||
-e 's/(SOELIM) -I. -Ietc man\/man1/(SOELIM) -I. -Ietc -Iman\/man1 man\/man1/' \
|
||||
-e 's/(SOELIM) -I. -Ietc man\/man5/(SOELIM) -I. -Ietc -Iman\/man5 man\/man5/' \
|
||||
-e '/\$(mandir)\/man1\/srec_license.1 \\/d' \
|
||||
"${S}"/Makefile.in || die "Patching failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Installation failed"
|
||||
dodoc "${S}"/README
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${S}"/etc/reference.ps
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make sure || die "Tests failed"
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST u-boot-2010.06.tar.bz2 8971985 RMD160 937931a38a8275c11469052ae2194192e34d1d21 SHA1 55bc16d8345a7c228dfa633f47184714e3fb733e SHA256 790ccb12d99fc527a8b8d20dfdf491795d30f87aa0902f8cbda196583aa20bc8
|
||||
DIST u-boot-2010.12.tar.bz2 8238700 RMD160 81e43f941b72711cb326cf3e256dbf83235db55b SHA1 ba848b6762b79c25d61b8b4641944ec0ada56507 SHA256 1705772db7a18635693676abb8818542167cb131921c456a1edd0ed47e6b77fe
|
||||
DIST u-boot-2011.06.tar.bz2 8469694 RMD160 7b97de43be54c225ee430f6a505d282421738737 SHA1 8362a83c72607f506a796f955f9e07cba5f92fff SHA256 362ddb935885da98cf461eba08f31e3e59d0c4ada6cb2fa15596f43af310ba8b
|
||||
DIST u-boot-2011.09.tar.bz2 8430168 RMD160 30a56bae6615b1e70c928e0f93a0676d1ee98a1d SHA1 9cd450c74f7c572df3b28701e641b03b42393d10 SHA256 6223d0141d2451dde6a9bfb8abbbdbc3696e1c3d289744d1918296561306ab4b
|
||||
DIST u-boot-2011.12.tar.bz2 8610390 RMD160 32b1ec30833f150e2995a5292d0d8b1e847aa9c8 SHA1 c7ee40c932cec042909862abdfe7b6855493ab0b SHA256 41820d65eb848411f71b9222957b3532607be0a754da916067876194148b907c
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/u-boot-tools-2010.06.ebuild,v 1.4 2011/03/07 11:33:22 armin76 Exp $
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_P="u-boot-${PV/_/-}"
|
||||
DESCRIPTION="utilities for working with Das U-Boot"
|
||||
HOMEPAGE="http://www.denx.de/wiki/U-Boot/WebHome"
|
||||
SRC_URI="ftp://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
domake() {
|
||||
emake \
|
||||
HOSTSTRIP=echo \
|
||||
HOSTCC="$(tc-getCC)" \
|
||||
HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \
|
||||
HOSTLDFLAGS="${LDFLAGS}" \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
rm -f include/config.mk
|
||||
domake CONFIG_CMD_LOADS=y tools-all || die
|
||||
touch include/config.mk
|
||||
domake -C tools/easylogo TOPDIR=$PWD SRCTREE=$PWD obj=$PWD/tools/easylogo/ || die
|
||||
domake env || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd tools
|
||||
dobin bmp_logo gen_eth_addr img2srec mkimage || die
|
||||
dobin easylogo/easylogo || die
|
||||
dobin env/fw_printenv || die
|
||||
dosym fw_printenv /usr/bin/fw_setenv || die
|
||||
insinto /etc
|
||||
doins env/fw_env.config || die
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/u-boot-tools-2010.12.ebuild,v 1.1 2011/03/14 23:00:56 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_P="u-boot-${PV/_/-}"
|
||||
DESCRIPTION="utilities for working with Das U-Boot"
|
||||
HOMEPAGE="http://www.denx.de/wiki/U-Boot/WebHome"
|
||||
SRC_URI="ftp://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
HOSTSTRIP=echo \
|
||||
HOSTCC="$(tc-getCC)" \
|
||||
HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \
|
||||
HOSTLDFLAGS="${LDFLAGS}" \
|
||||
tools-all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd tools
|
||||
dobin bmp_logo gen_eth_addr img2srec mkimage
|
||||
dobin easylogo/easylogo
|
||||
dobin env/fw_printenv
|
||||
dosym fw_printenv /usr/bin/fw_setenv
|
||||
insinto /etc
|
||||
doins env/fw_env.config
|
||||
}
|
@ -1,7 +1,2 @@
|
||||
DIST libexplain-0.40.D001.tar.gz 4275947 RMD160 67d73a151b5ace539fe7d57a67056d7a2e09d6c4 SHA1 f206457459233fc42e93f6fd2b73cc87220f54bf SHA256 fe028ccb0ae77d89175c2e53b97b27bec5d2ae65463afc09084337f8d6a4d7d5
|
||||
DIST libexplain-0.42.D001.tar.gz 4299924 RMD160 22cce35bf94f627176be7dd52097a400077ed490 SHA1 de558f0c8cd2054fe130d79696a7493bd4dca76f SHA256 608e06093920c1669a641fe629546050559f7ac80a89f268b9bad1e37b5b597a
|
||||
DIST libexplain-0.45.D001.tar.gz 4410036 RMD160 f01df997b47f9fa0d534b3b65b44d66402255aae SHA1 76940c3c3160065cac6c182d32a1a7df9f9e2f22 SHA256 e1e456a98361815d4fc55e086eb0e234b57d68418b659fdcf40a6e77900b5ecd
|
||||
DIST libexplain-0.46.D001.tar.gz 4441159 RMD160 756888ec6697b9742f5076f6901cee0980ad19d2 SHA1 83de82d7607d46bcb8ee873f9d3e4076fea645c3 SHA256 33afd58a2912ce81d6c431ecb7ddd73ceb808a679df4d6b6470f66325b8d967a
|
||||
DIST libexplain-0.47-parallel-make.patch.gz 8946 RMD160 6d1989327c1842367776d6a1bfbc3c0ed3e2e537 SHA1 b7ece95b603dcad04b3e9bec6765fd5a2ef4f707 SHA256 99b4f229523ac0bb96421c061ed8665dcff84ae804edfde92c30717bea3eab50
|
||||
DIST libexplain-0.47.D001.tar.gz 4451254 RMD160 d0725757e008846fc9e705b70f262035a2ff14c6 SHA1 40398d8a4467ddd9330f8dcfc06d5c6be5238f8e SHA256 4593ceff892a7c611969ad18706b12583c1110dc0db0056fa4c5ce6fe00500e8
|
||||
DIST libexplain-0.49.D001.tar.gz 4477127 RMD160 e71bf8854bbcd7ba3e94de8434557e5192060fe8 SHA1 93aba2641ad61810b62eccd2d58f762d880edde7 SHA256 c6792f1ddf304cf1af2f7aaf03340ec4aee6d73a97b52a066e153bd967fbbedb
|
||||
DIST libexplain-0.50.D001.tar.gz 4484874 RMD160 80f90e363f12e0f9aaa04f4cd7639b478dc1c057 SHA1 dcf3a7a92370195810b96ae033f08b6e5794cf99 SHA256 7ffbf63ed820becdc26ed43f9299978f80a1edf617768b37cbdf99c80b57aaa6
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexplain/libexplain-0.40.ebuild,v 1.7 2011/06/28 12:02:45 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P="${P}.D001"
|
||||
|
||||
DESCRIPTION="Library which may be used to explain Unix and Linux system call errors"
|
||||
HOMEPAGE="http://libexplain.sourceforge.net/"
|
||||
#SRC_URI="http://libexplain.sourceforge.net/${MY_P}.tar.gz"
|
||||
SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="GPL-3"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=sys-kernel/linux-headers-2.6.35
|
||||
sys-libs/libcap
|
||||
>=sys-libs/glibc-2.11"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# Portage incompatible test
|
||||
sed \
|
||||
-e '/t0524a/d' \
|
||||
-e '/t0363a/d' \
|
||||
-i Makefile.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
MAKEOPTS+=" -j1"
|
||||
default
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexplain/libexplain-0.42.ebuild,v 1.2 2011/06/28 12:02:45 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P="${P}.D001"
|
||||
|
||||
DESCRIPTION="Library which may be used to explain Unix and Linux system call errors"
|
||||
HOMEPAGE="http://libexplain.sourceforge.net/"
|
||||
SRC_URI="http://libexplain.sourceforge.net/${MY_P}.tar.gz"
|
||||
#SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="GPL-3"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=sys-kernel/linux-headers-2.6.35
|
||||
sys-libs/libcap
|
||||
>=sys-libs/glibc-2.11"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# Portage incompatible test
|
||||
sed \
|
||||
-e '/t0524a/d' \
|
||||
-e '/t0363a/d' \
|
||||
-i Makefile.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
MAKEOPTS+=" -j1"
|
||||
default
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexplain/libexplain-0.46.ebuild,v 1.2 2011/11/27 17:01:06 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P="${P}.D001"
|
||||
|
||||
DESCRIPTION="Library which may be used to explain Unix and Linux system call errors"
|
||||
HOMEPAGE="http://libexplain.sourceforge.net/"
|
||||
SRC_URI="http://libexplain.sourceforge.net/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="GPL-3"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="
|
||||
>=sys-kernel/linux-headers-2.6.35
|
||||
sys-libs/libcap
|
||||
>=sys-libs/glibc-2.11"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# Portage incompatible test
|
||||
sed \
|
||||
-e '/t0524a/d' \
|
||||
-e '/t0363a/d' \
|
||||
-i Makefile.in || die
|
||||
|
||||
cp "${S}"/etc/configure.ac "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-0.45-configure.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
MAKEOPTS+=" -j1"
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f '{}' +
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libexplain/libexplain-0.47.ebuild,v 1.2 2011/11/27 17:01:06 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P="${P}.D001"
|
||||
|
||||
DESCRIPTION="Library which may be used to explain Unix and Linux system call errors"
|
||||
HOMEPAGE="http://libexplain.sourceforge.net/"
|
||||
SRC_URI="http://libexplain.sourceforge.net/${MY_P}.tar.gz
|
||||
http://dev.gentoo.org/~radhermit/distfiles/${P}-parallel-make.patch.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="GPL-3"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="
|
||||
>=sys-kernel/linux-headers-2.6.35
|
||||
sys-libs/libcap
|
||||
>=sys-libs/glibc-2.11"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# Portage incompatible test
|
||||
sed \
|
||||
-e '/t0524a/d' \
|
||||
-e '/t0363a/d' \
|
||||
-i Makefile.in || die
|
||||
|
||||
cp "${S}"/etc/configure.ac "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-0.45-configure.patch \
|
||||
"${WORKDIR}"/${P}-parallel-make.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -exec rm -f '{}' +
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTML_TreeMenu/PEAR-HTML_TreeMenu-1.2.2.ebuild,v 1.1 2011/12/12 10:41:40 olemarkus Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTML_TreeMenu/PEAR-HTML_TreeMenu-1.2.2.ebuild,v 1.2 2012/01/16 11:03:27 ago Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Provides an API to create a HTML tree."
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
@ -0,0 +1,151 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/barby/barby-0.5.0-r1.ebuild,v 1.1 2012/01/16 05:30:01 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
RUBY_FAKEGEM_DOCDIR="site"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby barcode generator that doesn't rely on 3rd party libraries."
|
||||
HOMEPAGE="http://toretore.eu/barby/"
|
||||
|
||||
GITHUB_USER="toretore"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/v${PV} -> ${P}.tgz"
|
||||
RUBY_S="${GITHUB_USER}-${PN}-*"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test datamatrix pdf-writer qrcode rmagick prawn png cairo"
|
||||
|
||||
USE_RUBY="ruby18 ree18" \
|
||||
ruby_add_rdepend "
|
||||
datamatrix? ( dev-ruby/semacode )
|
||||
pdf-writer? ( dev-ruby/pdf-writer )"
|
||||
|
||||
# ruby19 as well, if it worked
|
||||
USE_RUBY="ruby18 ree18" \
|
||||
ruby_add_rdepend "
|
||||
rmagick? ( dev-ruby/rmagick )
|
||||
cairo? ( dev-ruby/rcairo )"
|
||||
|
||||
USE_RUBY="ruby18 ree18 jruby" \
|
||||
ruby_add_rdepend "prawn? ( dev-ruby/prawn )"
|
||||
|
||||
ruby_add_rdepend "qrcode? ( dev-ruby/rqrcode )
|
||||
png? ( dev-ruby/chunky_png )"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest )"
|
||||
|
||||
# prawn breaks tests for some reasons, needs to be investigated; code
|
||||
# still works though.
|
||||
RESTRICT="prawn? ( test )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[bB]undler/s:^:#:' test/test_helper.rb
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
if use datamatrix; then
|
||||
sed -i -e '/^end/i s.add_dependency "semacode"' ${RUBY_FAKEGEM_GEMSPEC}
|
||||
else
|
||||
rm \
|
||||
lib/barby/barcode/data_matrix.rb \
|
||||
test/data_matrix_test.rb
|
||||
fi
|
||||
|
||||
if use pdf-writer; then
|
||||
sed -i -e '/^end/i s.add_dependency "pdf-writer"' ${RUBY_FAKEGEM_GEMSPEC}
|
||||
else
|
||||
rm \
|
||||
lib/barby/outputter/pdfwriter_outputter.rb \
|
||||
test/outputter/pdfwriter_outputter_test.rb
|
||||
fi
|
||||
|
||||
if use qrcode; then
|
||||
sed -i -e '/^end/i s.add_dependency "rqrcode"' ${RUBY_FAKEGEM_GEMSPEC}
|
||||
else
|
||||
rm \
|
||||
lib/barby/barcode/qr_code.rb \
|
||||
test/qr_code_test.rb
|
||||
fi
|
||||
|
||||
if use rmagick; then
|
||||
sed -i -e '/^end/i s.add_dependency "rmagick"' ${RUBY_FAKEGEM_GEMSPEC}
|
||||
else
|
||||
rm \
|
||||
lib/barby/outputter/rmagick_outputter.rb \
|
||||
test/outputter/rmagick_outputter_test.rb
|
||||
fi
|
||||
|
||||
if use prawn; then
|
||||
sed -i -e '/^end/i s.add_dependency "prawn"' ${RUBY_FAKEGEM_GEMSPEC}
|
||||
else
|
||||
rm \
|
||||
lib/barby/outputter/prawn_outputter.rb \
|
||||
test/outputter/prawn_outputter_test.rb
|
||||
fi
|
||||
|
||||
if use png; then
|
||||
sed -i -e '/^end/i s.add_dependency "chunky_png"' ${RUBY_FAKEGEM_GEMSPEC}
|
||||
else
|
||||
rm \
|
||||
lib/barby/outputter/png_outputter.rb \
|
||||
test/outputter/png_outputter_test.rb
|
||||
fi
|
||||
|
||||
if use cairo; then
|
||||
sed -i -e '/^end/i s.add_dependency "cairo"' ${RUBY_FAKEGEM_GEMSPEC}
|
||||
else
|
||||
rm \
|
||||
lib/barby/outputter/cairo_outputter.rb \
|
||||
test/outputter/cairo_outputter_test.rb
|
||||
fi
|
||||
|
||||
case ${RUBY} in
|
||||
*/ruby19)
|
||||
rm -f \
|
||||
lib/barby/barcode/data_matrix.rb \
|
||||
test/data_matrix_test.rb \
|
||||
lib/barby/outputter/pdfwriter_outputter.rb \
|
||||
test/outputter/pdfwriter_outputter_test.rb \
|
||||
lib/barby/outputter/prawn_outputter.rb \
|
||||
test/outputter/prawn_outputter_test.rb
|
||||
|
||||
sed -i \
|
||||
-e '/semacode/d' \
|
||||
-e '/pdf-writer/d' \
|
||||
-e '/prawn/d' \
|
||||
${RUBY_FAKEGEM_GEMSPEC}
|
||||
;;
|
||||
*/jruby)
|
||||
rm -f \
|
||||
lib/barby/barcode/data_matrix.rb \
|
||||
test/data_matrix_test.rb \
|
||||
lib/barby/outputter/pdfwriter_outputter.rb \
|
||||
test/outputter/pdfwriter_outputter_test.rb \
|
||||
lib/barby/outputter/rmagick_outputter.rb \
|
||||
test/outputter/rmagick_outputter_test.rb \
|
||||
lib/barby/outputter/cairo_outputter.rb \
|
||||
test/outputter/cairo_outputter_test.rb
|
||||
|
||||
sed -i \
|
||||
-e '/semacode/d' \
|
||||
-e '/pdf-writer/d' \
|
||||
-e '/rmagick/d' \
|
||||
-e '/cairo/d' \
|
||||
${RUBY_FAKEGEM_GEMSPEC}
|
||||
;;
|
||||
esac
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue