nsahoo l33t
Joined: 17 Jul 2003 Posts: 618
|
Posted: Wed Jan 28, 2004 5:56 am Post subject: showcasing my first ebuild: madman-0.92_rc1 |
|
|
It's a hack of the existing madman ebuild, modified to take care of the different naming of the tar ball and corrupted tar ball in one of the sourceforge mirror.
Code: |
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/media-sound/madman/madman-0.91.1.ebuild,v 1.3 2003/09/11 01:21:31 msterret Exp $
#S="${WORKDIR}/${P}"
S="${WORKDIR}/madman-0.92rc1"
DESCRIPTION="MP3 organizer/ID3 tag-editor extrodinaire"
HOMEPAGE="http://madman.sf.net"
#SRC_URI="mirror://sourceforge/madman/madman-0.92rc1.tar.gz"
SRC_URI="http://umn.dl.sourceforge.net/sourceforge/madman/madman-0.92rc1.tar.gz"
#SRC_URI="mirror://sourceforge/madman/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=x11-libs/qt-3.1.0-r3
>=media-libs/libvorbis-1.0
>=media-sound/xmms-1.2.7-r20
>=media-libs/id3lib-3.8.3"
src_compile() {
#pwd; ls
econf --prefix=/usr --libdir=/usr/lib
emake
}
src_install() {
einstall libdir=${D}/usr/lib || die
}
|
save the above mentioned code in /usr/local/portage/media-sound/madman/madman-0.92_rc1.ebuild
cd to /usr/local/portage/media-sound/madman/
run
ebuild madman-0.92_rc1.ebuild digest
then run
emerge -v madman-0.92_rc1.ebuild
you should have the latest development version of madman.
The .93 version is under development for last 3 months, i couldn't wait any longer. For those who are new to madman, it's a playlist manager, which focuses only on managing playlists, delegating the task of playing the music files to xmms. |
|