Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15785 - new Ebuild for mp3asm
Summary: new Ebuild for mp3asm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: J. Ellis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-16 11:37 UTC by Brian M. Rzycki
Modified: 2003-03-08 23:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian M. Rzycki 2003-02-16 11:37:10 UTC
here's a quick litle ebuild for mp3asm, an awesome mp3 command line tool.
Here's the ebuild I used:
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="A command line tool to clean and edit mp3 files."
HOMEPAGE="http://sourceforge.net/projects/mp3asm/"
SRC_URI="http://umn.dl.sourceforge.net/sourceforge/mp3asm/mp3asm-0.1.3-1.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND=""

# the author uses weird numbering...
S=${WORKDIR}/mp3asm-0.1

src_compile() {
        econf
        emake || die
}

src_install() {
        dodoc ${S}/README
        dodoc ${S}/COPYING
        dobin ${S}/src/mp3asm
}


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-18 05:37:46 UTC
good, except you should use: mirror://sourceforge/mp3asm/whatever.bz2 in SRC_URI

and use bash-fu to make it so that you don't have to hard code any of the digits in the version number:

MY_P=${PN}-${PV%.*}-${PV#*.*.}

or something like that.
Comment 2 J. Ellis (RETIRED) gentoo-dev 2003-03-02 08:28:55 UTC
Please submit an updated ebuild that doesn't hard code the paths. Thanks!
Comment 3 J. Ellis (RETIRED) gentoo-dev 2003-03-08 23:55:38 UTC
Commited (~x86 masked)

Thanks for the submission.