Hi! This is an ebuild for premake-1.9. It "should build and run pretty much anywhere", according to the author. Premake is a build script generator. It can create input files for a variety of different make-tools and IDE's. I suggest dev-util/premake. It doesn't have any dependencies. I tested it on amd64. Martin
Created attachment 37773 [details] premake-1.9.ebuild
Created attachment 37780 [details] premake-1.9.ebuild This includes a patch to allow "package.buildoptions" in C# projects (missing feature, non-destructive patch)!
Created attachment 37781 [details, diff] cs-buildoptions-1.9.diff The appropriate patch file. Must be placed in files/1.9/.
If you only tested it on a amd64, you shouldn't have ~x86 in there
Premake 2.0 is available, have anyone tested this on x86?
Please fix the following and reopen: * http://dev.gentoo.org/~ciaranm/docs/mw-faq/license.txt * http://dev.gentoo.org/~ciaranm/docs/mw-faq/redundant.txt (src_compile) * http://dev.gentoo.org/~ciaranm/docs/mw-faq/docfiles.txt
*** Bug 123366 has been marked as a duplicate of this bug. ***
Created attachment 80162 [details] premake-3.0.ebuild
Please reopen, add to portage and close :-)
Reopen :)
Created attachment 80170 [details] premake-3.1_rc2.ebuild
Created attachment 80184 [details] premake-2.4.ebuild Please be sure to include this version, too. It seems to be stable on amd64 (the 3.x series segfaults under some conditions)...
This is now in the sunrise overlay. You can find it at: http://www.gentoo-sunrise.org/sunrise/browser/sunrise/dev-util/premake
Created attachment 164193 [details] Ebuild for premake 3.6 I have created a new ebuild for premake 3.6. I have tested it on x86 and AMD64. I would like for it to be included in the official portage tree. The utility is certainly useful. Should it be in dev-util or should it be in sys-devel? If the package needs a maintainer in order to be added to the tree, I might be able to do that.
(this is an automated message based on filtering criteria that matched this bug) Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Created attachment 194944 [details] ebuild file for the final version in the 3.x line I have created an ebuild for version 3.7, this is the last version in the 3.x line for Premake. The ebuild is based on the 3.6 one.
Created attachment 205728 [details] premake-4.1.1.ebuild Ebuild for newest version. I have inspired from THE overlay ebuild, but I have added USE doc and debug. PS Should I fill a another bug, because this is premake-3.0 and I add premake-4?
Comment on attachment 205728 [details] premake-4.1.1.ebuild ><HTML><HEAD><STYLE type="text/css">a.USO_outdatedLink:link {color: #0088FF !important; text-decoration: underline !important;}a.USO_outdatedLink:visited {color: #0088FF !important; text-decoration: underline !important;}a.USO_outdatedLink:hover {color: #0088FF !important; text-decoration: underline !important;}a.USO_outdatedLink:active {color: #0088FF !important; text-decoration: underline !important;}a.USO_updatedLink:link {color: #AAAAAA !important; text-decoration: underline !important;}a.USO_updatedLink:visited {color: #AAAAAA !important; text-decoration: underline !important;}a.USO_updatedLink:hover {color: #AAAAAA !important; text-decoration: underline !important;}a.USO_updatedLink:active {color: #AAAAAA !important; text-decoration: underline !important;}span.USO_compareSpan {color: #000000 !important}ins.USO_compareIns {color: #000000 !important; background:#8FFF8C !important;}del.USO_compareDel {color: #000000 !important; background:#FFE6E6 !important;}</STYLE></HEAD><BODY><PRE># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils >DESCRIPTION="A lua-based build environment generation tool" >HOMEPAGE="http://premake.sourceforge.net/" >SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" >LICENSE="GPL" >SLOT="0" >KEYWORDS="~x86 ~amd64" > >IUSE="debug doc" >RDEPEND="" > >DEPEND="${RDEPEND} > app-arch/unzip > >=sys-devel/libtool-1.4 > doc? ( app-doc/doxygen )" > >myConfig="release" > >src_compile() { > if use debug; then > myConfig="debug" > fi > > cd build/gmake.unix > unset ARCH > emake config="$myConfig" || die > > if use doc; then > cd "${S}" > doxygen -u doxyfile &> /dev/null || die "updating doxygen config failed" > doxygen doxyfile || die "making docs failed" > fi >} > >src_install() { > exeinto /usr/bin > doexe bin/$myConfig/premake4 > dosym /usr/bin/premake4 /usr/bin/premake > > cd "${S}" > > if use doc; then > insinto /usr/share/doc/${PF} > dohtml -r doc/html/* > fi > > dodoc BUILD.txt CHANGES.txt LICENSE.txt README.txt >} ></PRE></BODY></HTML>
(In reply to comment #17) > Created an attachment (id=205728) [edit] > premake-4.1.1.ebuild > > Ebuild for newest version. I have inspired from THE overlay ebuild, but I have > added USE doc and debug. > > PS Should I fill a another bug, because this is premake-3.0 and I add > premake-4? > I don't think you need to but the title of the bug probably should be changed. I'm really surprised no one has bothered to actually add this package into portage since it has had solid ebuilds for a long time and is blocking other bugs. But thanks for making an ebuild for the new version, I hadn't gotten around to it.
Created attachment 205886 [details] premake-4.1.2.ebuild New version. - use EAPI 2 - fix LICENSE - patch Makefile to respect CFLAGS, CXXFLAGS, and stop stripping files - disable silent building so we can see what's going on - use toolchain-funcs to pass compiler name to Makefile - add src_test (RESTRICTed in this version, two test fail - reported upstream) - don't install license file
please test this version. if there are no issues i'll add it to the tree.
Created attachment 205888 [details, diff] premake-4.1.2-Makefile.patch
I tested the new 4.1.2 ebuild on my amd64 machine and it is working fine. All my premake scripts are still version 3 so I can't fully test the program (there was a major change between versions 3 and 4) but it seems to be working fine so far.
It also occurred to me that since there was a major breakage at 4.0, perhaps 3.7 and 4.1 should be slotted? At least for now? Do the bugs that depend on this bug use 3.x or 4.x? If any use 3.x, 4.1.2 won't work for them.
good question, i didn't know about the compatibility break. i'll look into it.
(In reply to comment #25) > good question, i didn't know about the compatibility break. i'll look into it. > Cool, thank you for your work so far on this. FYI: Version 4.x builds to a different binary name (premake4) and the 3.x line uses premake, probably because the creators anticipated people wanting to run both versions, so it shouldn't be a big deal. (Hopefully)
Created attachment 205894 [details] premake-3.7.ebuild This installs into SLOT 3 so both can be installed side by side.
Created attachment 205895 [details, diff] premake-3.7-Makefile.patch
Created attachment 205897 [details] premake-4.1.2.ebuild minor changes, installs into SLOT 4.
Cool. I tested both of them and I now have them running side by side on my system. I had no issues whatsoever.
Created attachment 205898 [details, diff] premake-3.7-Makefile.patch popen support wasn't being enabled due to a wrong define name being set in the Makefile (USE_POPEN vs LUA_USE_POPEN). this updated patch lets me build wxformbuilder with external premake.
Created attachment 224411 [details] premake-4.2.1.ebuild Bumped
Created attachment 224413 [details, diff] premake-4.2.1-Makefile.patch Bumped
Cannot download src files: .................. Reusing existing connection to downloads.sourceforge.net:80. HTTP request sent, awaiting response... 302 Found Location: http://puzzle.dl.sourceforge.net/project/premake/Premake/4.2.1/premake-4.2.1-src.zip [following] --2010-06-24 22:15:39-- http://puzzle.dl.sourceforge.net/project/premake/Premake/4.2.1/premake-4.2.1-src.zip Resolving puzzle.dl.sourceforge.net... 195.141.111.5 Connecting to puzzle.dl.sourceforge.net|195.141.111.5|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 485067 (474K) [application/zip] Saving to: `/usr/portage/distfiles/premake-4.2.1-src.zip' 100%[==========================================================================================>] 485,067 89.5K/s in 8.3s 2010-06-24 22:15:51 (57.2 KB/s) - `/usr/portage/distfiles/premake-4.2.1-src.zip' saved [485067/485067] ('Filesize does not match recorded size', 485067, 1162606) !!! Fetched file: premake-4.2.1-src.zip VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 485067 !!! Expected: 1162606 Refetching... File renamed to '/usr/portage/distfiles/premake-4.2.1-src.zip._checksum_failure_.6vmHXm'
On tree
Premake 4.3 is out now, can an ebuild be made for this? I'm afraid I don't have the expertise to make one.