initial yeahconsole exheres
This commit is contained in:
parent
680b6020e4
commit
40c0170391
3 changed files with 78 additions and 0 deletions
|
@ -1 +1,2 @@
|
||||||
app-cdr
|
app-cdr
|
||||||
|
x11-apps
|
||||||
|
|
|
@ -0,0 +1,51 @@
|
||||||
|
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)
|
26
packages/x11-apps/yeahconsole/yeahconsole-0.3.4.exheres-0
Normal file
26
packages/x11-apps/yeahconsole/yeahconsole-0.3.4.exheres-0
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
|
||||||
|
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" )
|
Loading…
Reference in a new issue