Summary: | openspace-0.1.0.ebuild (New Package) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mateusz Dworak <compbatant> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED OBSOLETE | ||
Severity: | enhancement | CC: | compbatant |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
openspace.0.1.0.ebuild
openspace.0.1.0.ebuild openspace.0.1.1.ebuild openspace.0.1.1.ebuild openspace-0.2.0.ebuild |
Description
Mateusz Dworak
2005-10-21 05:32:04 UTC
Created attachment 71113 [details]
openspace.0.1.0.ebuild
- did you test it on all the keyworded architectures? - S=${WORKDIR}/${P} is superfluous - replace the pkg-setup() block with "if built_with_use x11-libs/fox png then <print_some_information_and_die>" Comment on attachment 71113 [details] openspace.0.1.0.ebuild # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Openspace is powerful, flexible, and utterly configurable file manager for UNIX systems, written using the FOX toolkit. Alternative to those created for KDE / Gnome only" HOMEPAGE="http://openspace.linux.pl/" SRC_URI="http://www.openspace.linux.pl/data/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc" IUSE="" DEPEND="=x11-libs/fox-1.4* dev-libs/libxml2" pkg_setup() { if built_with_use = x11-libs/fox png ; then eerror "fox-toolkit was not merged with the png" eerror "USE flag. Openspace requires fox be" eerror "built with this flag" die "fox missing png support" fi } src_compile() { CXXFLAGS="-O2" ./configure --prefix=/usr --sysconfdir=/etc || die "configure failed" make || die } src_install() { make DESTDIR=${D} install || die } Comment on attachment 71113 [details] openspace.0.1.0.ebuild ><HTML><BODY TEXT="#000000"><PRE># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >DESCRIPTION="Openspace is powerful, flexible, and utterly configurable file manager for UNIX systems, written using the FOX toolkit. Alternative to those created for KDE / Gnome only" >HOMEPAGE="http://openspace.linux.pl/" >SRC_URI="http://www.openspace.linux.pl/data/${P}.tar.bz2" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86 ~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc" >IUSE="" >DEPEND="=x11-libs/fox-1.4* > dev-libs/libxml2" >S=${WORKDIR}/${P} > >pkg_setup() { >test? test > local png_flag=false > > for fox_install in /var/db/pkg/x11-libs/fox*; do > cd ${fox_install} || die > if [[ " $(<USE) " == *" png "* ]]; then > png_flag=true > break > fi > done > > if ! ${png_flag}; then > echo > eerror "fox-toolkit was not merged with the png" > eerror "USE flag. Openspace requires fox be" > eerror "built with this flag" > die "fox missing png support" > fi > > >} > > >src_compile() { > CXXFLAGS="-O2" ./configure --prefix=/usr --sysconfdir=/etc || die "configure failed" > make || die >} > >src_install() { >make DESTDIR=${D} install || die >} > Created attachment 71132 [details]
openspace.0.1.0.ebuild
added few changes
i am testing only on x86 other architectures are supported by libs which i am using: fox and libxml2 so my program should work to. ~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc sorry for above comments with ebuild code, i didn't know how to chage attachment. Created attachment 71301 [details]
openspace.0.1.1.ebuild
Created attachment 71674 [details]
openspace.0.1.1.ebuild
the below line changed:
if ! built_with_use x11-libs/fox png ; then
Created attachment 84278 [details]
openspace-0.2.0.ebuild
*** Bug 129940 has been marked as a duplicate of this bug. *** Upstream no longer exists. |