summaryrefslogtreecommitdiff
path: root/dev-libs/udis86
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/udis86
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/udis86')
-rw-r--r--dev-libs/udis86/Manifest9
-rw-r--r--dev-libs/udis86/files/udis86-1.7-yasm.patch35
-rw-r--r--dev-libs/udis86/files/udis86-1.7.2-docdir.patch18
-rw-r--r--dev-libs/udis86/metadata.xml11
-rw-r--r--dev-libs/udis86/udis86-1.7-r2.ebuild38
-rw-r--r--dev-libs/udis86/udis86-1.7.2.ebuild39
6 files changed, 150 insertions, 0 deletions
diff --git a/dev-libs/udis86/Manifest b/dev-libs/udis86/Manifest
new file mode 100644
index 000000000000..ac9cc77247ff
--- /dev/null
+++ b/dev-libs/udis86/Manifest
@@ -0,0 +1,9 @@
+AUX udis86-1.7-yasm.patch 907 SHA256 08d298ac390103bb1b45d5807a24c14cc5332968a06be00064668f673126597b SHA512 23bc5c973b43654083f6a70b79c3c32cfa96c2e8c85905fca9c88b11f3993d4999b2114399b289fff90a31b2c25b375a56a8e8464c6fddb6591c0f6d421bb557 WHIRLPOOL 40f915c2844e255d67930ad10d8f5950382751609b13a80204763d64ef812d0f04f3ca1fb0859e0a569ed9637571074eea9489e447da57be3be6d62daded53e9
+AUX udis86-1.7.2-docdir.patch 644 SHA256 48813d19cba7797abafc247c6463c501062be4120e4c52d26b168265d683737e SHA512 4b552f30ad2c2a33ea5f3b51f01a287d0e19571368187ee5c7ab625e39a46ebdb9aaa3aa8aecb89cfc3481309a511bd37d29260377fd153bd7b427ee4adcf3da WHIRLPOOL e9660e6e68d00a694b6e9c4062fa1d10ae1df846fd15ce3a40b6db32de5eadb3b68f0dbf1a48e92c5fc71a5fd3e44de4c3586b28ac41cbeec157505576014618
+DIST udis86-1.7.2.tar.gz 445085 SHA256 9c52ac626ac6f531e1d6828feaad7e797d0f3cce1e9f34ad4e84627022b3c2f4 SHA512 8cb35d70ac020cd74ced22252aa735a266e5db98d89df565a560baa4ace0cd730e9db838241b70c3b93c27d6b2c75a88edf9c357c864d0f0104323925371c96f WHIRLPOOL c884522c5ce76fdca4cee78a775a58cb8c16662230982eb1a097c86c87192b456dc06b4c731ac401b1c06f8c04792bcb486b754cd889f6c6dfaed1a16d0a7eee
+DIST udis86-1.7.tar.gz 696651 SHA256 6128d266abcabed6077fdeebd2fbb7fb48eb599efbdae98922de2f6acd82ce3a SHA512 df0f802d4c0cf6b39b5b996cfd721cb7d0bdd1b0e2f2f7bcb7165514541b94d795c653e885d9f928d9a27f19464ed6fa948f4315fc1f3887079201fcbb2a241e WHIRLPOOL 91f97642c9850ce53efb102692db7e9aae2979b6ab0dc7c578fc15990df3a3abafa1d348bb1a5fffcdc82a060021a457ab28f266247630b8afc8aa79a00ca31f
+EBUILD udis86-1.7-r2.ebuild 850 SHA256 6b25d841689b0a73d428feb41cf53b606a177d09ed5ddae8f66409eabd9b7c6c SHA512 ad7fe03ff1ae9e3530155c5da2b5dea72f093801188c7f02dc2d09acb43f8da9ae056d7d45d83b624ef5930244009edbb590a8b0adf46da0ccd580f4d932adc2 WHIRLPOOL a3c3f928167dc21b80d21f257e965445d70a7775dbd289fd56aef856977903d56d2216a21ea14fb4d8e76519f404ae2dbbdc3afc21832f6e4edd33335674edf9
+EBUILD udis86-1.7.2.ebuild 899 SHA256 af70ca04c2fd8ce80833eaf995ee690edd881f207c22f4b9c50df124d523590a SHA512 a2a801b98cd0445805a0b39d73cd416fc13e7455b5a8770fe87736e44f6b1fa11174fec155885fe32a000d823c094577e8944a6d142c2d882b14461277ffc055 WHIRLPOOL 317d606196cacde312e4ee641cc24d5b9e79e35a7b9c900c96920225bc0b042ab55f1ad55f6f1f9c416d8c6c1d5e25543e498a95278430f799a36266ab35a8c7
+MISC ChangeLog 2291 SHA256 80bda344847050483cb13a73e60f65a677e9450cf78c164deba301a5003674c8 SHA512 0b4da8f083505ad50c2dc85023cc3125783c6c95000c7325e69f06f383b3dd769659f691d287b5ce9e669533fcb32740fecd2fbe0d220d861c0a6b214390810b WHIRLPOOL 72da912f14afa269a983be5e85554b6f12e1b2a297e4085cf74012289c2eca621fd031e1fb354aa5e4cb83a501a634811e6fbb039e36d7bf2f62250d7ea50f05
+MISC ChangeLog-2015 3617 SHA256 dfb9d7e9424986c5a2e9af4e8d12daebd6267a72b669291821a568b159b761ae SHA512 2b1bf1705aaa5b4460a19fbe2ec8869e0eabaa542f38c7c3d01a4b1eb97c828f190fbd20fb1aca75683ec8475dec90e4a9e9c018a2c972e3006a89abc27ee16e WHIRLPOOL 5f62db7fb6302b1c431de44dbff4a50752107317eb468a2a3cc40a55981ff7d8874ca584f287976862ccd5b5dd2c5daec4407767a50335da6128a4d2a16cecf5
+MISC metadata.xml 342 SHA256 08927fba093de62b9391b6e3a90a0796e76c06cc8ee30e7dea62f9ed7b85b89f SHA512 042c3b3a181b435308c2c6cb6fb411cf5c00fb0403736a7fdd4048553c5d3ce7b2130421dd785511ec97b2c0e55f0e6e3cc603273ae5f87d19a61f9da0914a66 WHIRLPOOL fae7026713df92804993c22b37322b3c161ec3a596b531f7b422dde57ae9d601309cd05d1c4ffe70da855dba5ac35c35edd7f16f007f8a563457b5b57edd01cd
diff --git a/dev-libs/udis86/files/udis86-1.7-yasm.patch b/dev-libs/udis86/files/udis86-1.7-yasm.patch
new file mode 100644
index 000000000000..3d3eecdf8283
--- /dev/null
+++ b/dev-libs/udis86/files/udis86-1.7-yasm.patch
@@ -0,0 +1,35 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -25,6 +25,9 @@
+ AC_DISABLE_SHARED
+ AC_PROG_LIBTOOL
+
++AC_PATH_PROG([YASM], yasm,)
++AC_SUBST(YASM)
++
+ # If this is a gnu compiler, pass -Wall
+ if test "$ac_cv_c_compiler_gnu" = "yes"; then
+ CFLAGS="$CFLAGS -Wall"
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -10,7 +10,7 @@
+ ovrrun_LDADD = ../libudis86/libudis86.la
+ ovrrun_CFLAGS = -I$(top_srcdir)/libudis86 -I$(top_srcdir)
+
+-YASM = yasm
++YASM = @YASM@
+
+ dist_check_DATA = test16.asm test32.asm test64.asm testjmp.asm testobscure.asm \
+ testjmp.ref testobscure.ref randtest.raw randtest16.ref \
+@@ -18,7 +18,10 @@
+
+ check-local: tests
+
+-tests: test16 test32 test64 testjmp bufovrrun randraw
++yasm_tests: test16 test32 test64 testjmp
++no_yasm_tests: bufovrrun randraw
++
++tests: $(if $(YASM), yasm_tests) no_yasm_tests
+
+ test16: gen
+ $(YASM) -f bin -o test16.bin $(top_srcdir)/tests/test16.asm
diff --git a/dev-libs/udis86/files/udis86-1.7.2-docdir.patch b/dev-libs/udis86/files/udis86-1.7.2-docdir.patch
new file mode 100644
index 000000000000..3afa72585bd4
--- /dev/null
+++ b/dev-libs/udis86/files/udis86-1.7.2-docdir.patch
@@ -0,0 +1,18 @@
+diff -ur a/docs/manual/Makefile.am b/docs/manual/Makefile.am
+--- a/docs/manual/Makefile.am 2013-09-02 05:46:56.000000000 +0200
++++ b/docs/manual/Makefile.am 2015-03-05 11:22:03.645828113 +0100
+@@ -1,4 +1,4 @@
+-docdir = ${datadir}/docs/udis86/manual
++docdir = @docdir@/manual
+
+ rst_sources = \
+ index.rst \
+diff -ur a/docs/x86/Makefile.am b/docs/x86/Makefile.am
+--- a/docs/x86/Makefile.am 2013-06-29 21:58:38.000000000 +0200
++++ b/docs/x86/Makefile.am 2015-03-05 11:22:30.477826105 +0100
+@@ -1,4 +1,4 @@
+-docdir = ${datadir}/docs/udis86/x86
++docdir = @docdir@/x86
+ dist_doc_DATA = optable.xml optable.xsl
+
+ MAINTAINERCLEANFILES = Makefile.in
diff --git a/dev-libs/udis86/metadata.xml b/dev-libs/udis86/metadata.xml
new file mode 100644
index 000000000000..8e3555d805c8
--- /dev/null
+++ b/dev-libs/udis86/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chithanh@gentoo.org</email>
+ <name>Chí-Thanh Christopher Nguyễn</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">udis86</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/udis86/udis86-1.7-r2.ebuild b/dev-libs/udis86/udis86-1.7-r2.ebuild
new file mode 100644
index 000000000000..90ba74d7be28
--- /dev/null
+++ b/dev-libs/udis86/udis86-1.7-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-multilib eutils
+
+DESCRIPTION="Disassembler library for the x86/-64 architecture sets"
+HOMEPAGE="http://udis86.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="test"
+
+DEPEND="test? (
+ amd64? ( dev-lang/yasm )
+ x86? ( dev-lang/yasm )
+ x86-fbsd? ( dev-lang/yasm )
+ )"
+RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-yasm.patch
+)
+
+src_configure() {
+ local myeconfargs=(
+ --disable-static
+ --enable-shared
+ --with-pic
+ )
+
+ autotools-multilib_src_configure
+}
diff --git a/dev-libs/udis86/udis86-1.7.2.ebuild b/dev-libs/udis86/udis86-1.7.2.ebuild
new file mode 100644
index 000000000000..f4d5d661c043
--- /dev/null
+++ b/dev-libs/udis86/udis86-1.7.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-multilib eutils
+
+DESCRIPTION="Disassembler library for the x86/-64 architecture sets"
+HOMEPAGE="http://udis86.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="test"
+
+DEPEND="test? (
+ amd64? ( dev-lang/yasm )
+ x86? ( dev-lang/yasm )
+ x86-fbsd? ( dev-lang/yasm )
+ )"
+RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-docdir.patch
+)
+
+src_configure() {
+ local myeconfargs=(
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ --disable-static
+ --enable-shared
+ --with-pic
+ )
+
+ autotools-multilib_src_configure
+}