eh, doesn't really belong public

This commit is contained in:
impulze 2009-05-17 15:23:34 +02:00
parent 3c5e23b2ac
commit 04cca7472d
2 changed files with 0 additions and 77 deletions

View file

@ -1,51 +0,0 @@
Upstream: Unknown
Reason: sloppy build-system
Source: Daniel Mierswa <impulze@impulze.org>
--- yeahconsole-0.3.4/Makefile.orig 2009-03-07 07:37:16.608177143 +0100
+++ yeahconsole-0.3.4/Makefile 2009-03-07 08:09:50.830930099 +0100
@@ -1,31 +1,28 @@
TARGET = yeahconsole
-CC = gcc
-#CC = cc
-INSTALL = install
-
-PREFIX = /usr/local
-
-LIBS = -lX11
-INCLUDES = -I/usr/X11R6/include
-LIB_DIRS = -L/usr/X11R6/lib
-FLAGS = -Os -Wall
+CC ?= gcc
+INSTALL ?= install
+PREFIX ?= /usr/local
+
+LIBS += -lX11
+CPPFLAGS += -I/usr/X11R6/include
+LDFLAGS += -L/usr/X11R6/lib
+CFLAGS += -Wall
OBJECTS := yeahconsole.o
SOURCES := yeahconsole.c
$(TARGET): $(OBJECTS)
- $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $<
- strip $@
+ $(CC) $(LDFLAGS) $(LIBS) -o $@ $<
$(OBJECTS): $(SOURCES)
- $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
clean:
- rm -rf $(TARGET) $(OBJECTS)
+ rm -f $(TARGET) $(OBJECTS)
install: $(TARGET) $(MAN)
- $(INSTALL) -o root -g root -m 0755 $(TARGET) $(PREFIX)/bin
-
+ $(INSTALL) -d $(PREFIX)/bin
+ $(INSTALL) -m 0755 $(TARGET) $(PREFIX)/bin
uninstall:
rm -f $(PREFIX)/bin/$(TARGET)

View file

@ -1,26 +0,0 @@
require toolchain-funcs
SUMMARY="Turn an xterm into a gamelike console."
DESCRIPTION="Slide down a terminal if you hit a shortcut key."
HOMEPAGE="http://phrat.de"
DOWNLOADS="${HOMEPAGE}/${PNV}.tar.gz"
LICENCES="|| ( GPL-2 GPL-3 )"
SLOT="0"
PLATFORMS="~amd64"
MYOPTIONS=""
DEPENDENCIES="
build:
x11-proto/xproto
build+run:
x11-libs/libX11
"
DEFAULT_SRC_PREPARE_PATCHES+=(
"${FILES}/${PNV}-build.patch"
)
DEFAULT_SRC_COMPILE_PARAMS+=( CC="$(tc-getCC)" )
DEFAULT_SRC_INSTALL_PARAMS+=( PREFIX="${IMAGE}/usr" )