Portage is a package management system used by Gentoo Linux
# ChangeLog for app-emulation/bochs
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.78 2008/06/17 10:11:42 lu_zero Exp $
17 Jun 2008; Luca Barbato
+files/bochs-2.3.7-gcc43.patch, bochs-2.3.7.ebuild:
Address gcc-4.3 issues, thanks to Vladimir Lushnikov
fix bug #218888
14 Jun 2008; Luca Barbato
bochs-2.3.ebuild, -bochs-2.3.5.ebuild:
Address bug #226533
*bochs-2.3.7 (05 Jun 2008)
05 Jun 2008; Luca Barbato
+files/bochs-2.3.7-typos.patch, bochs-2.3.6.ebuild, +bochs-2.3.7.ebuild:
New version, thanks to mastamind@users.sourceforge.net for proposing an
ebuild on bug #224885
31 Mar 2008; Luca Barbato
Update ebuild, remove wrongly used flags
*bochs-2.3.6 (06 Feb 2008)
06 Feb 2008; Luca Barbato
New version, ebuild kindly provided by Friedrich Oslage
28 Sep 2007; Ryan Hill
bochs-2.3.ebuild, bochs-2.3.5.ebuild:
Lock wxGTK to 2.6.
*bochs-2.3.5 (16 Sep 2007)
16 Sep 2007; Luca Barbato
New version, ebuild provided by Carlo Marcelo Arenas Belon
16 Sep 2007; Christoph Mende
Stable on amd64 wrt security bug #188148
10 Sep 2007; Raúl Porcel
alpha stable wrt security #188148
09 Sep 2007; Christian Faulhammer
stable x86, security bug 188148
09 Sep 2007; Luca Barbato
Marked ppc
*bochs-2.3 (09 Sep 2007)
09 Sep 2007; Luca Barbato
+files/bochs-2.3-floppy.patch, +files/bochs-2.3-ne2k.patch,
+files/bochs-2.3-redog.patch, +bochs-2.3.ebuild:
New version, patches to make it build and avoid security issues pointed by
Carlo Marcelo Arenas Belon
bug #145446
27 Jul 2007; Luca Barbato
+files/digest-bochs-2.3, Manifest:
Fix the unicode patchset, see bug #161083
22 Jul 2007; David Shakaryan
Remove virtual/x11 from dependencies.
06 May 2007; Mart Raudsepp
-files/bochs-2.1.1-regparm-typo.patch, -bochs-2.1.1.ebuild,
-bochs-2.2.5.ebuild, -bochs-2.2.5-r1.ebuild:
Remove old versions
02 May 2007; Jose Luis Rivero
Stable on alpha wrt bug #146954
20 Apr 2007; Joseph Jezak
Marked ppc stable for bug #146954.
19 Apr 2007; Gustavo Zacarias
Rolling back to ~sparc see #146954
16 Apr 2007; Christian Faulhammer
stable amd64, bug 146954
16 Apr 2007; Christian Faulhammer
stable x86, bug 146954
21 Feb 2007; Piotr Jaroszyński
Transition to Manifest2.
26 Nov 2006; Luca Barbato
remove smp since it breaks gdb stub
11 Jun 2006; Luca Barbato
add gdb stubs properly as suggested by Karl-Johan Karlsson
*bochs-2.2.6 (02 Jun 2006)
02 Jun 2006; Luca Barbato
New version, thanks to Marcus Furlong
and the improved unicode patch (originally from Fedora), see bug #130890
13 Feb 2006; Luca Barbato
fix qa as reported in bug #121730
05 Feb 2006; Luca Barbato
-bochs-2.2.1.ebuild, -bochs-2.2.1-r1.ebuild, bochs-2.2.5-r1.ebuild:
modular X on stable system...
05 Feb 2006; Luca Barbato
multilib fixes from Stefaan De Roeck
25 Jan 2006; Luca Barbato
Support different ui - solves bug #87921 and bug #63771 - thanks to Alex
Stagg
*bochs-2.2.5 (25 Jan 2006)
25 Jan 2006; Luca Barbato
New version with modular X and gcc-4.1 support
17 Nov 2005; Luca Barbato
Cleanup
17 Nov 2005; Luca Barbato
Marked stable on ppc
17 Nov 2005; Luca Barbato
gtk2 useflag removed from stable ebuild too
*bochs-2.2.1-r1 (19 Sep 2005)
19 Sep 2005; Luca Barbato
gtk2 removal
02 Sep 2005; Luca Barbato
fix for bug #104119
29 Aug 2005; Luca Barbato
Fix a typo, thanks to Karl-Johan Karlsson
23 Aug 2005; Luca Barbato
Minor update, thanks to Davide B.
pointing out the new iodebug option
14 Aug 2005; Luca Barbato
Make it support 2.6 wx
*bochs-2.2.1 (10 Jul 2005)
10 Jul 2005; Luca Barbato
New version
21 Apr 2005; Simon Stelling
stable on amd64
04 Apr 2005; Luca Barbato
Added opensp dependency as pointed out in bug #85789, thanks to Marius
06 Mar 2005; Luca Barbato
Dep change to be ready to the wxGTK update
01 Feb 2005; Luca Barbato
+files/bochs-2.1.1-regparm-typo.patch, bochs-2.1.1.ebuild:
Fix a tipo in the fpu code, solves bug #58827, thanks to Christian Adaker
09 Jan 2005; Sven Wegener
bochs-2.1.ebuild:
Added missing parentheses in SRC_URI/*DEPEND/LICENSE.
26 Nov 2004; Luca Barbato
-files/bochs-2.0.2-gcc3.patch, -bochs-1.4.1.ebuild, -bochs-1.4.ebuild,
-bochs-2.0.2.ebuild, -bochs-2.0.ebuild:
Cleanup
20 Nov 2004; Luca Barbato
Added vbe support, as requested in bug #71876
20 Nov 2004; Luca Barbato
Fixes bug #71854, -wxwindows now works correctly
10 Nov 2004; Luca Barbato
Fixed the wxGTK dependency
07 Nov 2004; Jason Wever
Stable on sparc.
07 Nov 2004; Luca Barbato
bochs-2.1.1.ebuild:
Marked stable for ppc and x86
24 Oct 2004; Luca Barbato
Added debugger useflag, should address the bug #25227
24 Sep 2004; Luca Barbato
Start using wxwidgets eclass
10 Jul 2004; Luca Barbato
Change gtk useflag to wxwindows useflag
04 May 2004; Bryan Østergaard
bochs-2.0.ebuild, bochs-2.1.1.ebuild:
Stable on alpha.
30 Mar 2004; Donnie Berkholz
bochs-1.4.ebuild, bochs-2.0.2.ebuild, bochs-2.0.ebuild, bochs-2.1.1.ebuild,
bochs-2.1.ebuild:
Change x11-base/xfree dependency to virtual/x11.
14 Mar 2004; Seemant Kulleen
use MY_P for a custom name NOT PN
07 Mar 2004; Luca Barbato
Added a workaround as suggested in bug #43878
*bochs-2.1.1 (29 Feb 2004)
29 Feb 2004; Luca Barbato
Version bump
*bochs-2.1 (13 Jan 2004)
13 Jan 2004; Luca Barbato
New version
10 Jan 2004; Sven Blumenstein
Stable on sparc. Hey, I saw Win2K booting on my Sun Ultra5!
09 Jan 2004; Aron Griffis
stable on alpha
05 Jan 2004; Luca Barbato
Fix for bug #36662, thanks to Andrew Kirilenko for the font setup idea.
24 Dec 2003; Sven Blumenstein
Added ~sparc keyword.
21 Nov 2003; Michael Sterrett
inherit eutils for epatch; more error checking/messages
29 Sep 2003; Martin Holzer
files/bochs-2.0.2-gcc3.patch:
Added gcc3 fix. Closes #29523
25 Sep 2003; Tavis Ormandy
testing on alpha (~alpha)
06 Jun 2003;
use sed -i and use_with
*bochs-2.0.2 (07 Feb 2003)
07 Feb 2003; Luca Barbato
Version bump again, added the gtk useflag
*bochs-2.0 (19 Jan 2003)
19 Jan 2003; Luca Barbato
Version bump
*bochs-1.4.1 (23 Jul 2002)
23 Jul 2002; Dan Armak
New version 1.4.1. Also fix #5381 (configure parameters) and #5312 (new
version notice).
*bochs-1.4 (7 May 2002)
15 Jul 2002; Owen Stampflee
Added KEYWORDS.
7 may 2002; Spider
fix sourceforge mirror
*bochs-1.4 (2 Apr 2002)
02 Apr 2003; Dan Armak
*bochs-1.3 (12 Feb 2002)
12 Feb 2002; Dan Armak
Initial version.
AUX bochs-2.3-floppy.patch 1356 RMD160 753655013f512d8e47245913727c996a3a2314a9 SHA1 7a7d5246a179d88e096d2eda5981036a32fc26b1 SHA256 01323056edbbfa4d142d7a81ee3725404bd5464372aa4e3507af58890a22b7fe
AUX bochs-2.3-ne2k.patch 557 RMD160 9094800e0d427ae9b13b69d39da5f569816c50ca SHA1 39df13629909535104a7febc52b8749d4414000a SHA256 c68d8bfc3759e031474e3f144d2780c62ada633b97721bee78f3c996255e9527
AUX bochs-2.3-redog.patch 507 RMD160 7840dee3b03a040882655ea7f5e63fb44e9cd4fe SHA1 1658fa72d8d1e8e6ea687e22ade722cba15bbfa9 SHA256 d7013f39972bc989ad3663a6849b72169b4d1d41d36a9ffc25b83c62033ba002
AUX bochs-2.3.7-gcc43.patch 211 RMD160 881624926e09147a22256b95906c7f9662c114f0 SHA1 5bcdec596ed52c6c0a9d07afcee7493c43429d18 SHA256 eb3730763d7bce565f3240f81b21e77b0762b650d474cadb1cdc552c5eb2e457
AUX bochs-2.3.7-typos.patch 1375 RMD160 d966955c9313d2ef6e961b48b24f65af10d2f29e SHA1 c55f317484117dfa59c71e95f95aed4d700d1bb4 SHA256 8ace7f1238702e9e973cabcb847673b5d2c63155c3efd572bf75a094819cdd49
DIST bochs-2.3.6.tar.gz 3951132 RMD160 b81c8093c147d0d75cb18a954407ed3f7451aa3f SHA1 3675b1c5a324854b998bb7518c7279db2fecd8c3 SHA256 11b4026f0717266d01c59a3f95046077bc046949aa752d0f0773b2b20dfb16aa
DIST bochs-2.3.7.tar.gz 3989982 RMD160 b4c9cb8e777c4e484f653085783bce9645804fe0 SHA1 e687c697a8be8396ae75106d0cd6149bd52ca67d SHA256 77f27fedadc6431df0a06ee226259a80443524ae9d221c97c5986e3f7927bb04
DIST bochs-2.3.tar.gz 3812273 RMD160 545e0bf3edd0fdd073a107e835f90c65451c100e SHA1 2fe0dbdebd7fe9fe07d697bcbe1736bdaeb64aaf SHA256 fd926f3915d0619ddde8dedd02dac661f3233d77f3fc2ec7f94e1e028398497a
DIST dlxlinux4.tar.gz 1504868 RMD160 29fd31dd0f77edacecabd9f053206a486635e7f1 SHA1 b3f441cd71c54c71a8c21aa405e949bde02c1783 SHA256 68b35f850ce69f4050ed85064e15d756245d57e84ddc1d52678b0e2a97dbf73e
EBUILD bochs-2.3.6.ebuild 2788 RMD160 46e494d7ed36d389852d4c48eef75cebe9c7d2be SHA1 2f9cd828e8993035b7ae00e542e4d188cdf7adbc SHA256 380b52ccbfb7ea2d43ac7ff662c3d52755483aad41959da2c7bd3299bd805bb4
EBUILD bochs-2.3.7.ebuild 3523 RMD160 58b00d1c533c9fcf0f4a09230e5280f05d6fe657 SHA1 57bfdd9c5b7acce761111412605fa9dc8025ce21 SHA256 14d997d4decd9200881abadbf0737aea3b2b073f184a70368fe60d98e437f623
EBUILD bochs-2.3.ebuild 3068 RMD160 8795b86ff397340582b95ab0fa247d032d92c728 SHA1 bf47cec0b18613c6a6ca45fb3aead0d33f488826 SHA256 f99daec5e2138693b289124e64af535c45c0df953a5642f68d2020898b534714
MISC ChangeLog 9992 RMD160 783229547290494360098f1ccad85076a5cbed0a SHA1 d2026b17ae816d33a16f4fc303f008c9623558e7 SHA256 d8e06f801f568483d8cd358fe096b88f2ca7d7fe441e2cc1850b537ce2ff8683
MISC metadata.xml 223 RMD160 f054e67dff10c87ea1d0b5753124445be6bd4610 SHA1 fcf66d2b271369d296150dde06603d850623ed27 SHA256 64a96c3c9929aec46b50a63ae1fd8c46cef4a8423f448d6f6fff09e20510c98b
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.3.6.ebuild,v 1.3 2008/06/05 02:22:51 lu_zero Exp $
inherit eutils wxwidgets autotools
DESCRIPTION="a LGPL-ed pc emulator"
HOMEPAGE="http://bochs.sourceforge.net/"
SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz
http://bochs.sourceforge.net/guestos/dlxlinux4.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE="X debugger readline usb wxwindows svga sdl ncurses vnc acpi"
RDEPEND="virtual/libc
X? ( x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXpm )
sdl? ( media-libs/libsdl )
svga? ( media-libs/svgalib )
wxwindows? ( =x11-libs/wxGTK-2.6* )
readline? ( sys-libs/readline )
ncurses? ( sys-libs/ncurses )"
DEPEND="${RDEPEND}
X? ( x11-proto/xproto )
>=sys-apps/sed-4
>=app-text/opensp-1.5"
src_unpack() {
unpack "${P}.tar.gz"
cd "${S}"
# we already downloaded dlxlinux4.tar.gz so let the Makefile cp it instead
# of downloading it again
sed -i \
-e "s:\$(WGET) \$(DLXLINUX_TAR_URL):cp ${DISTDIR}/dlxlinux4.tar.gz .:" \
Makefile.in || \
die "sed Makefile.in failed"
# Make sure wxwindows 2.6 is used in case both 2.6 and 2.4 are installed
sed -i -e "s:wx-config:wx-config-2.6:" configure.in
eautoconf
}
src_compile() {
export WX_GTK_VER=2.6
use wxwindows && \
need-wxwidgets gtk2
use x86 && \
myconf="--enable-idle-hack --enable-fast-function-calls"
use amd64 && \
myconf="--enable-x86-64"
use wxwindows && \
myconf="${myconf} --with-wx"
use wxwindows || \
myconf="${myconf} --without-wx"
use vnc && \
myconf="${myconf} --with-rfb"
use X && \
myconf="${myconf} --with-x11"
use ncurses && \
myconf="${myconf} --with-term"
# --enable-all-optimizations causes bus error on sparc :(
use sparc || \
myconf="${myconf} --enable-all-optimizations"
econf \
--prefix=/usr \
--enable-ne2000 \
--enable-sb16=linux \
--enable-plugins \
--enable-cdrom \
--enable-pci \
--enable-mmx \
--enable-sse=2 \
--enable-3dnow \
--enable-cpu-level=6 \
--with-nogui \
$(use_enable usb) \
$(use_enable readline) \
$(use_enable debugger) \
$(use_with X) \
$(use_with sdl) \
$(use_with svga) \
$(use_with acpi) \
${myconf} || \
die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install unpack_dlx || die "make install failed"
# workaround
make prefix="${D}/usr" install_dlx
dodoc \
CHANGES \
PARAM_TREE.txt \
README \
README-plugins \
TESTFORM.txt \
TODO || \
die "doco failed"
if [ use vnc ]
then
dodoc README.rfb || die "dodoc failed"
fi
if [ use wxwindows ]
then
dodoc README-wxWindows || die "dodoc failed"
fi
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.3.7.ebuild,v 1.2 2008/06/17 10:11:42 lu_zero Exp $
inherit eutils wxwidgets autotools
DESCRIPTION="a LGPL-ed pc emulator"
HOMEPAGE="http://bochs.sourceforge.net/"
SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz
http://bochs.sourceforge.net/guestos/dlxlinux4.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE="X debugger readline usb wxwindows svga sdl ncurses vnc acpi"
RDEPEND="virtual/libc
X? ( x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXpm )
sdl? ( media-libs/libsdl )
svga? ( media-libs/svgalib )
wxwindows? ( =x11-libs/wxGTK-2.6* )
readline? ( sys-libs/readline )
ncurses? ( sys-libs/ncurses )"
DEPEND="${RDEPEND}
X? ( x11-proto/xproto )
>=sys-apps/sed-4
>=app-text/opensp-1.5"
src_unpack() {
unpack "${P}.tar.gz"
cd "${S}"
epatch "${FILESDIR}/bochs-2.3.7-typos.patch"
epatch "${FILESDIR}/bochs-2.3.7-gcc43.patch"
# we already downloaded dlxlinux4.tar.gz so let the Makefile cp it instead
# of downloading it again
sed -i \
-e "s:\$(WGET) \$(DLXLINUX_TAR_URL):cp ${DISTDIR}/dlxlinux4.tar.gz .:" \
Makefile.in || \
die "sed Makefile.in failed"
# Make sure wxwindows 2.6 is used in case both 2.6 and 2.4 are installed
sed -i -e "s:wx-config:wx-config-2.6:" configure.in
eautoconf
}
src_compile() {
export WX_GTK_VER=2.6
use wxwindows && \
need-wxwidgets gtk2
use x86 && \
myconf="--enable-idle-hack --enable-fast-function-calls"
use amd64 && \
myconf="--enable-x86-64"
use wxwindows && \
myconf="${myconf} --with-wx"
use wxwindows || \
myconf="${myconf} --without-wx"
use vnc && \
myconf="${myconf} --with-rfb"
use X && \
myconf="${myconf} --with-x11"
use ncurses && \
myconf="${myconf} --with-term"
# --enable-all-optimizations causes bus error on sparc :(
use sparc || \
myconf="${myconf} --enable-all-optimizations"
econf \
--enable-pae \
--enable-large-pages \
--enable-global-pages \
--enable-mtrr \
--enable-guest2host-tlb \
--enable-repeat-speedups \
--enable-trace-cache \
--enable-icache \
--enable-fast-function-calls \
--enable-ignore-bad-msr \
--enable-port-e9-hack \
--enable-disasm \
--enable-logging \
--enable-raw-serial \
--enable-vbe \
--enable-clgd54xx \
--enable-fpu \
--enable-vme \
--enable-alignment-check \
--enable-sep \
--enable-popcnt \
--enable-monitor-mwait \
--enable-gameport \
--enable-iodebug \
--prefix=/usr \
--enable-ne2000 \
--enable-sb16=linux \
--enable-plugins \
--enable-cdrom \
--enable-pci \
--enable-pcidev \
--enable-pnic \
--enable-mmx \
--enable-sse=2 \
--enable-3dnow \
--enable-cpu-level=6 \
--enable-smp \
--with-nogui \
--enable-xsave \
--enable-aes \
$(use_enable usb) \
$(use_enable readline) \
$(use_enable debugger) \
$(use_with X) \
$(use_with sdl) \
$(use_with svga) \
$(use_enable acpi) \
${myconf} || \
die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install unpack_dlx || die "make install failed"
# workaround
make prefix="${D}/usr" install_dlx
dodoc \
CHANGES \
PARAM_TREE.txt \
README \
README-plugins \
TESTFORM.txt \
TODO || \
die "doco failed"
if [ use vnc ]
then
dodoc README.rfb || die "dodoc failed"
fi
if [ use wxwindows ]
then
dodoc README-wxWindows || die "dodoc failed"
fi
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.3.ebuild,v 1.7 2008/06/14 22:30:05 lu_zero Exp $
inherit eutils wxwidgets autotools
DESCRIPTION="a LGPL-ed pc emulator"
HOMEPAGE="http://bochs.sourceforge.net/"
SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz
http://bochs.sourceforge.net/guestos/dlxlinux4.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 ppc ~sparc x86"
IUSE="debugger readline sdl wxwindows X ncurses vnc"
RDEPEND="virtual/libc
X? ( x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXpm )
sdl? ( media-libs/libsdl )
wxwindows? ( =x11-libs/wxGTK-2.6* )
readline? ( sys-libs/readline )
ncurses? ( sys-libs/ncurses )"
DEPEND="${RDEPEND}
X? ( x11-proto/xproto )
>=sys-apps/sed-4
>=app-text/opensp-1.5"
src_unpack() {
unpack ${P}.tar.gz
cd ${S}
sed -i \
-e "s:\$(WGET) \$(DLXLINUX_TAR_URL):cp ${DISTDIR}/dlxlinux4.tar.gz .:" \
-e "s:BOCHSDIR=:BOCHSDIR=/usr/$(get_libdir)/bochs#:" \
-e 's: $(BOCHSDIR): $(DESTDIR)$(BOCHSDIR):g' Makefile.in || \
die "sed Makefile.in failed"
# Make it use the correct path to gtk-2
sed -i -e "s:/opt/gnome:/usr:" configure
# Fix some bad coding for gcc-4.1 compliance
sed -i -e "s:\#ifndef PARANOID:\#if 0:" iodev/hdimage.h
# Make sure wxwindows 2.6 is used in case both 2.6 and 2.4 are installed
sed -i -e "s:wx-config:wx-config-2.6:" configure
# wx unicode patches from fedora and bits the fedora missed
# epatch ${DISTDIR}/${P}-unicode.patch.gz
epatch ${FILESDIR}/${P}-redog.patch
epatch ${FILESDIR}/${P}-floppy.patch
epatch ${FILESDIR}/${P}-ne2k.patch
eautoconf
}
src_compile() {
export WX_GTK_VER=2.6
use wxwindows && \
need-wxwidgets gtk2
[[ "$ARCH" == "x86" ]] \
&& myconf="--enable-idle-hack --enable-fast-function-calls"
myconf="${myconf} `use_with sdl`"
myconf="${myconf} `use_enable readline`"
use wxwindows && \
myconf="${myconf} --with-wx"
use wxwindows || \
myconf="${myconf} --without-wx"
use debugger && \
myconf="$myconf --enable-debugger --enable-disasm \
--enable-x86-debugger --enable-iodebug"
use debugger || \
myconf="$myconf --enable-gdb-stub"
use vnc && \
myconf="$myconf --with-rfb"
use X && \
myconf="$myconf --with-x11"
use ncurses && \
myconf="$myconf --with-term"
if ! use X && ! use ncurses && ! use vnc && ! use sdl
then
myconf="$myconf --with-nogui"
fi
./configure \
--enable-usb --enable-pci --enable-vbe \
--enable-sse=2 --enable-3dnow --enable-plugins \
--enable-cpu-level=6 --enable-all-optimizations \
--enable-ne2000 --enable-sb16=linux --enable-clgd54xx \
--enable-apic --enable-compressed-hd \
--enable-pni --enable-sep --host=${CHOST} \
--libdir=/usr/$(get_libdir) --prefix=/usr \
${myconf} || die "configure failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install unpack_dlx || die "make install failed"
#workaround
make prefix=${D}/usr install_dlx
dodoc CHANGES README TESTFORM.txt || die "dodoc failed"
}