Summary: | New Ebuild (Help!) -- agsatellite | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Seemant Kulleen <seemantk> |
Component: | New packages | Assignee: | Seemant Kulleen (RETIRED) <seemant> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.0 RC6 r14 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | agsatellite ebuild -- needs some tweaking |
Description
Seemant Kulleen
2002-02-21 08:52:20 UTC
Created attachment 222 [details]
agsatellite ebuild -- needs some tweaking
please ask on gentoo-dev to get help and then repost. Hi Again to my Gentoo Friends, OK, this is the ebuild for agsatellite, using the Debian wrappers to configure and run the satellite. The satellite itself needs to be downloaded from audiogalaxy.com's website by the user. Attached here is the file containing the digests, and the ebuild. Thanks, seemant --- cut here MD5 6783cab77e1c639a3d9bf5e96eb9c422 agsatellite_0.5.2.0-5.tar.gz 6998 MD5 3876f43497acde0474809a752a076cbf AGSatellite0520-glibc21.tar.gz 33145 --- cut here too # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Authors: Seemant Kulleen <seemant@rocketmail.com> and Matthew B. Kennedy <mbke nnedy@ieee.com # $Header$ A=agsatellite_0.5.2.0-5.tar.gz MYVER=agsatellite-0.5.2.0 B=AGSatellite0520-glibc21.tar.gz S=${WORKDIR}/ DESCRIPTION="Audio Galaxy Satellite" SRC_URI="http://ftp.debian.org/debian/pool/contrib/a/agsatellite/${A}" HOMEPAGE="http://packages.debian.org/unstable/net/agsatellite.html" BGPAGE="http://www.audiogalaxy.com/" DEPEND="" RDEPEND="virtual/glibc" dyn_fetch() { digest_check ${B} if [ $? -ne 0 ]; then einfo "Please download ${B} yourself from ${BPAGE}" einfo "and place it in ${DISTDIR}" exit 1 fi } src_unpack() { unpack ${A} unpack ${B} } src_compile() { cat ${MYVER}/agsatellite | sed 's#/usr/bin#/opt/AudioGalaxy/bin#g' > ${M YVER}/agsat cat ${MYVER}/agsatellite-config | sed 's#/usr/bin#/opt/AudioGala xy/bin#g' > ${MYVER}/agsat-config mv ${MYVER}/agsat ${MYVER}/agsatellite mv ${MYVER}/agsat-config ${MYVER}/agsatellite-config einfo "A binary package, nothing to compile" } src_install () { dodir /opt/AudioGalaxy/bin exeinto /opt/AudioGalaxy/bin doexe AGSatellite0520/AGSatellite doexe ${MYVER}/agsatellite ${MYVER}/agsatellite-config doman ${MYVER}/agsatellite.1 ${MYVER}/agsatellite-config.1 dodoc ${MYVER}/debian/changelog ${MYVER}/debian/copyright dodoc AGSatellite0520/*.txt insinto /etc/env.d doins ${FILESDIR}/10agsatellite } OK. You shouldn't redefine A, and you should include the to-be-manually downloaded file in SRC_URI but just as a raw file ("foo.tar.gz" for example). Then you should be able to remove src_unpack() entirely. And "$Header$" to "$Header: $". This will NOT be added to portage. Instead, the OpenAG package, which is the open source AudioGalaxy client, will be added. |