summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2016-03-10 11:39:36 -0800
committerPalmer Dabbelt <palmer@dabbelt.com>2016-03-10 11:39:36 -0800
commit27e604f11f3e8880226d4bed71fcfa15a576f7de (patch)
tree5e723609f196d3ce0e51b02a9a85dcce49b8b9eb /media-libs/libmng
parentDon't install openmpi man pages (diff)
downloadpalmer-27e604f11f3e8880226d4bed71fcfa15a576f7de.tar.gz
palmer-27e604f11f3e8880226d4bed71fcfa15a576f7de.tar.bz2
palmer-27e604f11f3e8880226d4bed71fcfa15a576f7de.zip
Add an old libmng, for the cad tools
Diffstat (limited to 'media-libs/libmng')
-rw-r--r--media-libs/libmng/Manifest2
-rw-r--r--media-libs/libmng/libmng-1.0.10-r2.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/libmng/Manifest b/media-libs/libmng/Manifest
new file mode 100644
index 0000000..79b89cc
--- /dev/null
+++ b/media-libs/libmng/Manifest
@@ -0,0 +1,2 @@
+DIST libmng-1.0.10.tar.gz 1093337 SHA256 03a79dac9b9316d37227057614a248a946f997c4d1a3437fb569e9a63897f911 SHA512 302d792af76140d8511ac2f88b5c2a8de01261bbbcd21c83903d94d3f20f1e84a0658827e78ae863499d8f1b466c26641b714dc7e11d06366e64a9966fb18ba1 WHIRLPOOL 30bc6cf676d97e7061bb941fea91a293f613048ed789dfaefeb9777011cdff198fb3ebfb6b7dad4b1694c4db14fd396a57adb4de9e1404a0057592dd76116fbf
+EBUILD libmng-1.0.10-r2.ebuild 1294 SHA256 05ad36665381c4e1183034050a36883ba8b3f301a870bb61bb4fee1c2ace19e1 SHA512 a6ed9ccbc4e46b03d4c49179ceebc62a53cde1f8c4006493f99a41ebb813b71c38149d15af3d13f4692d1a451c34f3186c8b1f8a3942200c53a26ab85669dd31 WHIRLPOOL 5893fcc4e729acad69a13e5a7ae00760246b278345c5735cfb6423a9f121804c1cfbb4c789ca3ceea19bf0e255d39681169931a1d42cdbcbc1750235b2641314
diff --git a/media-libs/libmng/libmng-1.0.10-r2.ebuild b/media-libs/libmng/libmng-1.0.10-r2.ebuild
new file mode 100644
index 0000000..d1ea26f
--- /dev/null
+++ b/media-libs/libmng/libmng-1.0.10-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmng/Attic/libmng-1.0.10-r2.ebuild,v 1.3 2014/08/28 15:44:11 ssuominen dead $
+
+EAPI=5
+inherit autotools-multilib
+
+DESCRIPTION="Multiple Image Networkgraphics lib (animated png's)"
+HOMEPAGE="http://www.libmng.com/"
+SRC_URI="mirror://sourceforge/libmng/${P}.tar.gz"
+
+LICENSE="libmng"
+SLOT="1"
+KEYWORDS="amd64"
+IUSE="lcms static-libs"
+
+# should be [${MULTILIB_USEDEP}] in the end of lcms dep, need to convert it
+RDEPEND=">=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}]
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+ lcms? ( media-libs/lcms:0 )
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r5
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ ln -s makefiles/configure.in .
+ ln -s makefiles/Makefile.am .
+ sed -i '/^AM_C_PROTOTYPES$/d' configure.in || die #420223
+
+ eautoreconf
+ autotools-multilib_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable static-libs static)
+ --with-jpeg
+ $(use_with lcms)
+ )
+
+ autotools-multilib_src_configure
+}
+
+src_install() {
+ autotools-multilib_src_install
+
+ dodoc CHANGES README* doc/{doc.readme,libmng.txt}
+ doman doc/man/*
+}