* [gentoo-commits] gentoo-x86 commit in app-text/discount: metadata.xml discount-2.1.6.ebuild Manifest ChangeLog
@ 2013-07-29 4:55 Nathan Phillip Brink (binki)
0 siblings, 0 replies; only message in thread
From: Nathan Phillip Brink (binki) @ 2013-07-29 4:55 UTC (permalink / raw
To: gentoo-commits
binki 13/07/29 04:55:01
Added: metadata.xml discount-2.1.6.ebuild Manifest
ChangeLog
Log:
Add app-text/discount for bug #294000 by Egil Hanger and jauhien. Imported from sunrise with fixes including CFLAGS, LDFLAGS, CPPFLAGS, sandbox, and shared/dynamic library support. Prefixed some generically-named binaries with 'mkd'.
(Portage version: 2.2.0_alpha177-r1/cvs/Linux x86_64, signed Manifest commit with key 743A52E86BA81050)
Revision Changes Path
1.1 app-text/discount/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/discount/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/discount/metadata.xml?rev=1.1&content-type=text/plain
Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>binki@gentoo.org</email>
<name>Nathan Phillip Brink</name>
</maintainer>
</pkgmetadata>
1.1 app-text/discount/discount-2.1.6.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/discount/discount-2.1.6.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/discount/discount-2.1.6.ebuild?rev=1.1&content-type=text/plain
Index: discount-2.1.6.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/discount/discount-2.1.6.ebuild,v 1.1 2013/07/29 04:55:00 binki Exp $
EAPI=5
inherit eutils multilib
DESCRIPTION="An implementation of John Gruber's Markdown text to html language written in C"
HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
SRC_URI="http://www.pell.portland.or.us/~orc/Code/${PN}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="minimal"
src_prepare() {
epatch "${FILESDIR}"/${P}-portage-multilib-CFLAGS.patch
# for QA, we remove the Makefile’s usage of install -s.
# Drop ldconfig invocation.
# Force “librarian.sh” to respect LDFLAGS ($FLAGS should have CFLAGS
# at that point).
sed -i \
-e '/INSTALL_PROGRAM/s,-s ,,' \
-e 's/\(LDCONFIG=\).*/\1:/' \
-e 's/\(.\)\$FLAGS/& \1$LDFLAGS/' \
configure.inc || die "sed configure.inc failed"
# Add LDFLAGS and CPPFLAGS hackily.
sed -i \
-e 's/^CC[ \t]*=.*/& $(CPPFLAGS)/' \
-e 's/^LFLAGS[ \t]*=.*/& $(LDFLAGS)/' \
Makefile.in || die "Cannot fix LDFLAGS and CPPFLAGS"
}
src_configure() {
./configure.sh \
--libdir="${EPREFIX}"usr/"$(get_libdir)" \
--prefix="${EPREFIX}"usr \
--mandir="${EPREFIX}"usr/share/man \
--shared \
$(usex minimal '' --enable-all-features) \
|| die
}
src_install() {
emake DESTDIR="${D}" $(usex minimal install install.everything)
DISCOUNT_EBUILD_RENAMED_BINARIES=()
local bin
for bin in "${ED}"usr/bin/*; do
[[ ${bin} = */markdown || ${bin} = */mkd* ]] && continue
DISCOUNT_EBUILD_RENAMED_BINARIES+=(${bin##*/})
mv "${bin}" "${bin%/*}/mkd${bin##*/}" || die
mv "${ED}"usr/share/man/man1/{,mkd}${bin##*/}.1 || die
done
}
pkg_postinst() {
if [[ ${DISCOUNT_EBUILD_RENAMED_BINARIES} ]]; then
local bin
elog "Some discount binaries with overly-generic names have been"
elog "prefixed. Please see"
elog "https://github.com/Orc/discount/issues/81 for discussion."
for bin in "${DISCOUNT_EBUILD_RENAMED_BINARIES[@]}"; do
elog " Renamed '${bin}' to 'mkd${bin}'."
done
fi
}
1.1 app-text/discount/Manifest
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/discount/Manifest?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/discount/Manifest?rev=1.1&content-type=text/plain
Index: Manifest
===================================================================
AUX discount-2.1.6-portage-multilib-CFLAGS.patch 1975 SHA256 a24fc76d0c45c3afd34f9c19ddcc905b78d540cf39dccd7111cfad785e76f996 SHA512 7e2546d09aa4f4ca4987cb71b388e494eede4c326af1cd7107e70f74d73038b64a5defef59fd50de8108101f36b16562e468b690d99e5f84a278187bc67e56ad WHIRLPOOL 8a94efd0ebc27ad083737a5dfc6ae169e66eb0ae4b7fd057ae879c5c09a18699164b140b8a06bbc8def1cecb44fdb6ea640986587309156ab34a5b868b2698e9
DIST discount-2.1.6.tar.bz2 83823 SHA256 702bb29e17e387f82e40fae062d5e4939bc6fb22dcf53e6109982a5faa110796 SHA512 75e2fcc31f670bab77a3658a684054971998e91ad14743814480a4d24a59285dea1fe922d16c8d1c868250c417963a80282b8fe278021240ba424b840dd4df8e WHIRLPOOL 9f519c44df4bc5300729dd0f51fbcb20f957da68d03b670307bfd51c0d994b5d2b765eac6e17bba8119bb095277ce5dfbad185599bdeca834c4982eb813d7a79
EBUILD discount-2.1.6.ebuild 2013 SHA256 be22e2fa58ee2d52091fa7270008a54649455d2232c8c2ffc3cec3d0f4524b0b SHA512 a0cf0badeaa2d08b943a293e089091e49df79963f4e802695fa90ffb85b9d0c8304f3902f5beffc680bea7b2019412926417439d73d9f43f6112bab5571f105a WHIRLPOOL 763e3a5c93ac83a65ff376b20ec67fb4147df712259e1b5688bee3cb7ecdad080187d5802239bc7455711ca76360f83b0ff1124b96a567a4acded057e25acfc2
MISC ChangeLog 540 SHA256 8f73b8e827c711fedbb618a8e449ea34aec9c95e4826e905033cfe0805add4ad SHA512 bc1ab58ac656270fc9c002c8a24f04a8676c265d3ce91102cec0a0aa2d412bd7c8bc5ee2f0c4d61a37d2cf2b8479724eccc37df1e3a10927f66aab4e6323a45d WHIRLPOOL 10c9ecba2fb061c36a4c04ca19c777086750714b797cc62311d05393890e08274de2cd7b8ae60f69d295fff9e8a5b15496ed591d650593d19277ce3b357e3280
MISC metadata.xml 244 SHA256 f5bde347c36c74889cbb32d29f06766c08eb3df6e0c468f00295681382c48457 SHA512 100f9b2326c73dff673bda4c5dfc0dd28bc756d80a039c1d3ac19124599a99e18b841ab28da191a79c6498c2dc157c0fed7639c855e2520cc3933f03e3de8a21 WHIRLPOOL 409c270895ffd477768bc9c329c9297c106d3f9572b84051ae66757f4d87c6f0a0b7d71aff602ff41b14400fc0afbf3990cbf1768a63f01fda6854043b66a35b
1.1 app-text/discount/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/discount/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/discount/ChangeLog?rev=1.1&content-type=text/plain
Index: ChangeLog
===================================================================
# ChangeLog for app-text/discount
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-text/discount/ChangeLog,v 1.1 2013/07/29 04:55:01 binki Exp $
*discount-2.1.6 (29 Jul 2013)
29 Jul 2013; Nathan Phillip Brink <binki@gentoo.org> +discount-2.1.6.ebuild,
+files/discount-2.1.6-portage-multilib-CFLAGS.patch, +metadata.xml:
Add app-text/discount for bug #294000 by Egil Hanger and jauhien. Imported
from sunrise with fixes including CFLAGS, LDFLAGS, CPPFLAGS, sandbox, and
shared/dynamic library support. Prefixed some generically-named binaries with
'mkd'.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-29 4:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 4:55 [gentoo-commits] gentoo-x86 commit in app-text/discount: metadata.xml discount-2.1.6.ebuild Manifest ChangeLog Nathan Phillip Brink (binki)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox