Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 50643 Details for
Bug 23207
new ebuild GLUI
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
glui-2.2-r1.ebuild
glui-2.2-r1.ebuild (text/plain), 1.92 KB, created by
Colin Macdonald
on 2005-02-07 11:39:35 UTC
(
hide
)
Description:
glui-2.2-r1.ebuild
Filename:
MIME Type:
Creator:
Colin Macdonald
Created:
2005-02-07 11:39:35 UTC
Size:
1.92 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># Initial ebuild from steven knight <steven.knight@unh.edu>, in bug 23207 ># Updated by Daniel Westermann-Clark <afn41511@afn.org> ># half-heartedly updated by Colin Macdonald <cbm@sfu.ca> > >inherit eutils > ># The upstream tarball uses a different naming convention >MY_P=${PN}_v${PV/./_} >DESCRIPTION="GLUI is a GLUT-based C++ user interface library" >HOMEPAGE="http://www.nigels.com/glt/glui/" >SRC_URI="http://www.nigels.com/glt/glui/${MY_P}.tgz" > ># Set the source directory, since the upstream tarball uses a different naming ># convention >S=${WORKDIR}/${MY_P} > ># This patch is based on: ># http://http.us.debian.org/debian/pool/main/g/glui/glui_2.2-1.diff.gz ># (though that patch creates a Makefile which still refers to version 2.1 ># ># Removed the Debian-specific files; removed the broken upstream Makefiles; ># removed the explicit setting of CC, CXX, CFLAGS, CXXFLAGS, and LDFLAGS; ># and added building of the shared library >GLUI_DEBIAN_PATCH="glui-2.2-r1-debian.diff" > >SLOT="0" > >LICENSE="LGPL-2" >KEYWORDS="~x86" > >DEPEND="virtual/opengl > virtual/glut" > > >src_unpack() { > unpack ${A} > epatch ${FILESDIR}/${GLUI_DEBIAN_PATCH} || die "epatch failed" > rm ${S}/makefile > rm ${S}/makefile.bak >} > >src_compile() { > emake || die "emake failed" >} > >src_install() { > # This doesn't use einstall, since the Makefile does not have an install > # target > dolib.a lib/libglui.a > > dolib.so lib/libglui.so.${PV} > # strip minor version (I'm sure there is a better way) > dosym libglui.so.${PV} /usr/lib/libglui.so.${PV/.?/} > dosym libglui.so.${PV} /usr/lib/libglui.so > > insinto /usr/include/GL > doins glui.h > > newdoc readme.txt README >} > >pkg_postinst() { > einfo "To use this library, link using -lglui and include /usr/include/GL/glui.h" > einfo > einfo "Note: Examples are not included in this release, pending the creation of" > einfo "an updated Makefile" >}
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 23207
:
13620
|
13669
|
14479
|
14480
|
14481
|
23436
|
23437
|
50628
|
50629
|
50630
| 50643 |
50644
|
50645
|
121825