Hi! Please find attached epkg-1.2.ebuild epkg implements same features as dpkg for debian and equery for gentoo. It is also a dependency for ept-get, which I'll commit few minutes later. For more see http://epkg.sourceforge.net/
Created attachment 102645 [details] epkg-1.2.ebuild
Corrections/additions: Should be: # $Header: $ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" IUSE="" The src_compile function can probably be removed. The dodir line is not needed. Should be "dobin epkg || die", so that Portage does not report success when that fails.
KEYWORDS should contain what you've actually tested *only* and should be ~arch, not stable. On a more generic note, did you try portage-utils (esp. qfile and qlist) before inventing another tool?
> dodoc {AUTHORS,README,LICENSE,CREDITS} can/should be 'dodoc AUTHORS README LICENSE CREDITS'. Defining function before functions isn't really needed either. (In reply to comment #2) > The src_compile function can probably be removed. It can and should.
Comment on attachment 102645 [details] epkg-1.2.ebuild it seems i've done some changes according to your suggestations. What's now?
Comment on attachment 102645 [details] epkg-1.2.ebuild ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/local/portage/app-portge/epkg/epkv-1.2.ebuild > >DESCRIPTION="dpkg workalike which accepts equery syntax as well" >HOMEPAGE="http://epkg.sf.net" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" > > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc-macos ppc64 s390 sparc x86" > >DEPEND="dev-lang/fpc" > >function src_compile(){ > emake || die "emake failed" >} > >function src_install(){ > dodir /usr/bin > dobin epkg > dodoc {AUTHORS,README,LICENSE,CREDITS} >} >
(In reply to comment #5) > it seems i've done some changes according to your suggestations. > What's now? You've changed SRC_URI to use mirror://sourceforge, but haven't made any of the other changes suggested.
Comment on attachment 102645 [details] epkg-1.2.ebuild ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/local/portage/app-portge/epkg/epkg-1.2.ebuild > >DESCRIPTION="dpkg workalike which accepts equery syntax as well" >HOMEPAGE="http://epkg.sf.net" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" > > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~x86" > >DEPEND="dev-lang/fpc" > > >function src_install(){ > dobin epkg > dodoc AUTHORS,README,LICENSE,CREDITS >} >
Comment on attachment 102645 [details] epkg-1.2.ebuild ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/local/portage/app-portge/epkg/epkg-1.2.ebuild > >DESCRIPTION="dpkg workalike which accepts equery syntax as well" >HOMEPAGE="http://epkg.sf.net" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" > > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~x86" > >DEPEND="=dev-lang/fpc-2.0.2" > > >function src_install(){ > dobin epkg > dodoc AUTHORS,README,LICENSE,CREDITS >} >
Is there still interest in adding this? There have been no releases upstream since 2006, and no activity in the new repository since December 2016. Moreover, we have in the meantime added a different, (somewhat) more recent app-portage/epkg.