diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/udis86 | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/udis86')
-rw-r--r-- | dev-libs/udis86/Manifest | 7 | ||||
-rw-r--r-- | dev-libs/udis86/files/udis86-1.7-yasm.patch | 35 | ||||
-rw-r--r-- | dev-libs/udis86/files/udis86-1.7.2-docdir.patch | 18 | ||||
-rw-r--r-- | dev-libs/udis86/metadata.xml | 11 | ||||
-rw-r--r-- | dev-libs/udis86/udis86-1.7-r2.ebuild | 37 | ||||
-rw-r--r-- | dev-libs/udis86/udis86-1.7.2.ebuild | 38 |
6 files changed, 146 insertions, 0 deletions
diff --git a/dev-libs/udis86/Manifest b/dev-libs/udis86/Manifest new file mode 100644 index 000000000000..3524a9ebdcb2 --- /dev/null +++ b/dev-libs/udis86/Manifest @@ -0,0 +1,7 @@ +AUX udis86-1.7-yasm.patch 907 BLAKE2B e27f90003cc54d926b1bd39a274e7d030d6701a8833e90cc26b2f7196dbd458bf818198191227ffa97c6521be5bdca87d9c364da5add8f32ed9905252674acb9 SHA512 23bc5c973b43654083f6a70b79c3c32cfa96c2e8c85905fca9c88b11f3993d4999b2114399b289fff90a31b2c25b375a56a8e8464c6fddb6591c0f6d421bb557 +AUX udis86-1.7.2-docdir.patch 644 BLAKE2B 7929a12d9dcc43035b3ed0ec6da5dc54e7a51c19b50e4405eaac83ca351a7b9c367fa1754b1adde419ad04c19f90f8e83272b2b34e7a01974ab84a01a1f2a1f1 SHA512 4b552f30ad2c2a33ea5f3b51f01a287d0e19571368187ee5c7ab625e39a46ebdb9aaa3aa8aecb89cfc3481309a511bd37d29260377fd153bd7b427ee4adcf3da +DIST udis86-1.7.2.tar.gz 445085 BLAKE2B 0e67a1ae28688a5febdb4502714a6d99b1fda9028470bac1ecf9314d33c2f081726e3706e9616f352fbf1561283429cb96b92ea4a88e454ec21eadc84bb336d8 SHA512 8cb35d70ac020cd74ced22252aa735a266e5db98d89df565a560baa4ace0cd730e9db838241b70c3b93c27d6b2c75a88edf9c357c864d0f0104323925371c96f +DIST udis86-1.7.tar.gz 696651 BLAKE2B 5d0a97e06b6bc7b263b6f080e12f832d4bfc9a4791a495e49cd2f4ee6d37d13e593891e02fe9ee3c3fb5e7ec23bf25ae7aa1dccd1f95b5c003f6a6e45bbb7f8d SHA512 df0f802d4c0cf6b39b5b996cfd721cb7d0bdd1b0e2f2f7bcb7165514541b94d795c653e885d9f928d9a27f19464ed6fa948f4315fc1f3887079201fcbb2a241e +EBUILD udis86-1.7-r2.ebuild 725 BLAKE2B 52df35cbcc8ad0aa83adcefa9ae0bf353ae32821e2c9d9886a1381afecc8d76e5fc1f92d60a1649bfd4db6f32039c053674b6f85a07fa14a5700b62e21526879 SHA512 3b8abae8834e594ea39ea856ca22aca558fa76368b462fd097770a996586dbea97448349f139574e73f09e6954b5151caab98273939d455b001e43e8d77829e6 +EBUILD udis86-1.7.2.ebuild 774 BLAKE2B 42f25a8f4adb8086bd85e54040ac97b28757d485db844f00426b7e1dc93d93917ce41422b90ca7ff739eb5ab7d0c8d8bba2e0135bf065a6d443615d8f6e43763 SHA512 558046efee3e9895f50cb3ea7113fc71f1fe0f41f5d3254ca7826873f23987060595691ad99aa97a97c7ec2b3d6e6f5d31074f6b4a98a69c0a97139878736fa9 +MISC metadata.xml 342 BLAKE2B 5f721c4727a6ee72b711b6df53a260dd420e4389f02091326483aa69995817965b8375097d3abd519b6c25e5cbceecff3de7efdc23178a2d98ee5d64522522e7 SHA512 042c3b3a181b435308c2c6cb6fb411cf5c00fb0403736a7fdd4048553c5d3ce7b2130421dd785511ec97b2c0e55f0e6e3cc603273ae5f87d19a61f9da0914a66 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..1231af279799 --- /dev/null +++ b/dev-libs/udis86/udis86-1.7-r2.ebuild @@ -0,0 +1,37 @@ +# 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="" + +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..cd7cf07a9bc6 --- /dev/null +++ b/dev-libs/udis86/udis86-1.7.2.ebuild @@ -0,0 +1,38 @@ +# 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="" + +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 +} |