Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2636 - wampager-0.9 ebuild
Summary: wampager-0.9 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-10 13:01 UTC by Gontran Zepeda
Modified: 2003-02-04 19:42 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 Gontran Zepeda 2002-05-10 13:01:37 UTC
Well, ebuild is working.  wampager -- seems alpha quality here.  Clicking on the
various squares don't do what I'd expect -- this could be due to my
configuration -- not sure.  FWIW, here it is.

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Gontran Zepeda <gontran@gontran.net>
# Maintainer: Spider <spider@gentoo.org>
 
S=${WORKDIR}/${P}
DESCRIPTION="Pager for Waimea."
SRC_URI="http://download.sourceforge.net/waimea/${P}.tar.gz"
HOMEPAGE="http://waimea.sf.net"
LICENSE="GPL-2"

DEPEND="virtual/x11 x11-wm/waimea"
        
RDEPEND="${DEPEND}"
PROVIDE="virtual/blackbox"

src_unpack() {
        unpack ${A}
        cd ${S}
        patch -p0 < ${FILESDIR}/${P}-gentoo.patch
        # now sed in a proper build image dir removing sandbox violates.
        mv Makefile Makefile.pre
        cat Makefile.pre | sed -e "s#@@@IMAGE_PRE@@@#${BUILDDIR}/image#" > Makefile
}

src_compile() {
        emake || die
}

src_install () {
        make install || die
}


-------------- the patch -------------
# cat files/wampager-0.9-gentoo.patch 
--- Makefile.orig       Fri May 10 10:16:51 2002
+++ Makefile    Fri May 10 10:17:24 2002
@@ -14,4 +14,5 @@
                $(CC) $(CFLAGS) $(SRCS) $(INC) -o wampager $(LIBS)
 
 install : all
-               install -c -s wampager /usr/local/bin
+               install -d @@@IMAGE_PRE@@@/usr/bin
+               install -c -s wampager @@@IMAGE_PRE@@@/usr/bin
#
Comment 1 Spider (RETIRED) gentoo-dev 2002-05-12 18:16:51 UTC
okie, commiting. thanks