Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 496422 Details for
Bug 96711
dev-lang/freebasic - Multi-platform BASIC compiler, syntax compatible with QuickBASIC
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fbc-1.05.0.ebuild
fbc-1.05.0.ebuild (text/plain), 2.50 KB, created by
Agustin Ferrari
on 2017-09-26 03:53:28 UTC
(
hide
)
Description:
fbc-1.05.0.ebuild
Filename:
MIME Type:
Creator:
Agustin Ferrari
Created:
2017-09-26 03:53:28 UTC
Size:
2.50 KB
patch
obsolete
># Copyright 1999-2014 Gentoo Foundation ??? ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=6 > >inherit eutils > >DESCRIPTION="FreeBASIC - A multi-platform 32 bit BASIC Compiler" >HOMEPAGE="http://www.freebasic.net/" > >SRC_URI="mirror://sourceforge/${PN}/FreeBASIC-${PV}-source.tar.xz > mirror://sourceforge/${PN}/FreeBASIC-${PV}-linux-x86.tar.gz" > >LICENSE="GPL2 LGPL" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="X opengl" > >DEPEND="sys-libs/gpm > || ( app-emulation/emul-linux-x86-baselibs ( > sys-libs/ncurses[abi_x86_32] > >=dev-libs/libffi-3.0.13-r1[abi_x86_32] ) )" # 32 bit: ncurses libffi >RDEPEND="X? ( || ( app-emulation/emul-linux-x86-xlibs > x11-libs/libXpm[abi_x86_32] ) ) > opengl? ( || ( app-emulation/emul-linux-x86-opengl ( > media-libs/mesa > virtual/glu ) ) )" ># 32 bit: X: xpm xext xrandr xrender ># 32 bit: opengl: mesa glu >S="${WORKDIR}/FreeBASIC-${PV}-source" > >src_unpack() { > # Unpack only the sources, the binary is extracted later > unpack FreeBASIC-${PV}-source.tar.xz >} > >src_prepare() { > tar --strip-components=2 -vxf ${DISTDIR}/FreeBASIC-${PV}-linux-x86.tar.gz FreeBASIC-${PV}-linux-x86/bin/fbc > # Avoid bootstrap-dist crash (and compiling unnecessary stuff) > epatch "${FILESDIR}/bootstrap-dist-fixes.patch" > # Modify the fbc binary... > sed -i "s/libtinfo\.so\.[0-9]/.\/libtinfo.so/g" fbc > # ...and create a temporary soft link to libncurses++w.so so it can run > ln -s /usr/lib/libncurses++w.so libtinfo.so > # Files not found with fbc binary > #cp -p ${S}/inc/{file,datetime,string}.bi ${S}/src/compiler/ > eapply_user >} > >src_compile() { > make bootstrap-dist FBC_EXE=./fbc || die "Error" > make bootstrap FBC=${S}/fbc CC="gcc -m32" CFLAGS="-I$(ls -d /usr/lib*/libffi-*/include | head -n1)" TARGET_ARCH="x86" DISABLE_OBJINFO="YesPlease" || die "Error" >} > >src_install() { > if use x86; then > lib_arch="lib" > elif use amd64; then > lib_arch="lib32" > else > lib_arch="lib" > fi > mkdir -p -m 0755 ${D}usr/bin ${D}usr/$lib_arch/freebasic ${D}usr/include/freebasic > install ${S}/bin/fbc ${D}usr/bin > cp -r ${S}/inc/* ${D}usr/include/freebasic > cp -r ${S}/lib/freebasic/* ${D}usr/$lib_arch/freebasic > > if use amd64; then ># vvvv This should not be, but without it does not work # > mkdir -p -m 0755 ${D}usr/lib # > ln -s /usr/$lib_arch/freebasic ${D}usr/lib/freebasic # ># ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # > fi > > doman doc/fbc.1 > > echo "FreeBASIC compiler successfully installed in ${D}usr" >} > >pkg_postinst() { > elog "You can use dev-util/geany as IDE" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 96711
:
61649
|
72687
|
85376
|
85378
|
85379
|
85380
|
386510
|
386512
|
386514
| 496422 |
496424