diff options
author | Sebastian Pipping <sping@gentoo.org> | 2015-10-30 14:57:46 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2015-10-30 15:00:04 +0100 |
commit | e612fbeb659c7e5eca0e01a6c93db37498d7d2cb (patch) | |
tree | 5decdb3dd6b7057c483400d3db4be5a3ea6dae1c /dev-util/bcpp | |
parent | sys-cluster/cinder: Drop old (diff) | |
download | gentoo-e612fbeb659c7e5eca0e01a6c93db37498d7d2cb.tar.gz gentoo-e612fbeb659c7e5eca0e01a6c93db37498d7d2cb.tar.bz2 gentoo-e612fbeb659c7e5eca0e01a6c93db37498d7d2cb.zip |
dev-util/bcpp: 20150811
Package-Manager: portage-2.2.23
Diffstat (limited to 'dev-util/bcpp')
-rw-r--r-- | dev-util/bcpp/Manifest | 1 | ||||
-rw-r--r-- | dev-util/bcpp/bcpp-20150811.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/bcpp/Manifest b/dev-util/bcpp/Manifest index ec0f0aeb89cc..2db73d4cef76 100644 --- a/dev-util/bcpp/Manifest +++ b/dev-util/bcpp/Manifest @@ -1,2 +1,3 @@ DIST bcpp-20050725.tgz 132649 SHA256 1a4b5e8e741d6be400eb68b7c4a3eebc6dabe29948a72a7a0bccb1db075eaa2a SHA512 0ada3aee998fa6748e7492bfe2e0d6e5417640eaa19aa3342637ee1d162c907d2af4fd2d1ab24661f36798d2d51fa017d9c113b8499b32bf4d521e130aa75323 WHIRLPOOL fff51c65b60351c9a7c55d060754e3e09383b905820ab79aa2f371a894a82d8a3fa5a00b00a066380909c49487e262f99a832022b5f214d564e43b8939fcbdcb DIST bcpp-20090630.tgz 138757 SHA256 27b46ab3cef53a658605f350e3982862e17b523e703f23617530a57180200a34 SHA512 660d11c0d8a8d3ccc2a4c14ccb60164a43647fface79ffd86b8d99519e227e32a882fc213a5fef64fd3aee1c409c4bb0a871dfd6d6a09a8ad35e253baef6496b WHIRLPOOL 1fa68efd9874933de2097b87aab0dd586cbc29cf7fc3d4ba6d80984ecb289f01d8093e82fbca3f8077300887a8d1b1b970ed5bcabb0a766489bdcb23704f7ac2 +DIST bcpp-20150811.tgz 145969 SHA256 6a18d68a09c4a0e8bf62d23d13ed7c8a62c98664a655f9d648bc466240ce97c3 SHA512 a11462574bd87cf66dc50ce23f188d335480aae5448b527694791d4b7ae5cde27c0e0c0850dc8899b2b66198c37a434985c833f95f7f2d2d88a3b7dfe4ff34a9 WHIRLPOOL 959677314ce1bbd361b3060f7f8f028ad89cce8d7167ecc169f6d49a854ecfadc50177be2dd2ffdac838252f67af72d2a4c341b2666208bc8cef1aadcee867db diff --git a/dev-util/bcpp/bcpp-20150811.ebuild b/dev-util/bcpp/bcpp-20150811.ebuild new file mode 100644 index 000000000000..10ebb2c3edc8 --- /dev/null +++ b/dev-util/bcpp/bcpp-20150811.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils + +DESCRIPTION="Indents C/C++ source code" +HOMEPAGE="http://invisible-island.net/bcpp/" +SRC_URI="ftp://invisible-island.net/bcpp/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_compile() { + emake CPPFLAGS='-DBCPP_CONFIG_DIR=\"/etc/bcpp/\"' +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc CHANGES MANIFEST README VERSION txtdocs/hirachy.txt \ + txtdocs/manual.txt || die "dodoc failed" + + # Install our configuration files. + insinto /etc/bcpp + doins bcpp.cfg indent.cfg || die "doins failed" +} + +pkg_postinst() { + elog "Check the documentation for more information on how to" + elog "Run bcpp. Please note that in order to get help for" + elog "bcpp, please run bcpp -h and not the command by itself." + elog "" + elog "Configuration files are at /etc/bcpp." + elog "To use them, use the -c option followed by the filename." +} |