Aaron Walker, who happens to be smarter than you, thinks:

> that, read about the versionator eclass in the versionator.eclass(5) manual
> page (may have to emerge portage-manpages).

O.o!

Great, I have in my overlay an ebuild which I made and I'm testing it right
now..

hdf5_hl-1.6.2.1.ebuild - hdf5_hl-5162p1.tar.gz

---
PKG_VER="${PV:0:5}"
PKG_REV="${PV:6}"
MY_PKG="${PN}-5${PKG_VER//./}${PKG_REV:+p${PKG_REV}}"

SRC_URI="ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/hdf5_hl/src/${MY_PKG}.tar.gz";
---

Use of versionator.eclass seems to be the elegant solution, just I need to
read de eclass...

Cool stuff Ciaran, ;-)

-- 
Function reject.
--
[email protected] mailing list

Reply via email to