aboutsummaryrefslogtreecommitdiffstats
path: root/packages/fbgrab
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fbgrab')
-rw-r--r--packages/fbgrab/.mtn2git_empty0
-rw-r--r--packages/fbgrab/fbgrab/.mtn2git_empty0
-rw-r--r--packages/fbgrab/fbgrab/makefile.patch21
-rw-r--r--packages/fbgrab/fbgrab_1.0.bb12
4 files changed, 33 insertions, 0 deletions
diff --git a/packages/fbgrab/.mtn2git_empty b/packages/fbgrab/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/fbgrab/.mtn2git_empty
diff --git a/packages/fbgrab/fbgrab/.mtn2git_empty b/packages/fbgrab/fbgrab/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/fbgrab/fbgrab/.mtn2git_empty
diff --git a/packages/fbgrab/fbgrab/makefile.patch b/packages/fbgrab/fbgrab/makefile.patch
index e69de29bb2..01ee502bd7 100644
--- a/packages/fbgrab/fbgrab/makefile.patch
+++ b/packages/fbgrab/fbgrab/makefile.patch
@@ -0,0 +1,21 @@
+--- fbgrab-1.0/Makefile.orig 2002-03-20 20:49:06.000000000 +0100
++++ fbgrab-1.0/Makefile 2004-06-11 18:02:56.000000000 +0200
+@@ -4,13 +4,12 @@
+ ###
+
+ fbgrab: fbgrab.c
+- splint +posixlib fbgrab.c
+- gcc -g -Wall fbgrab.c -lpng -lz -o fbgrab
++ ${CC} ${CFLAGS} ${LDFLAGS} fbgrab.c -lpng -lm -lz -o fbgrab
+
+ install:
+ strip fbgrab
+- install fbgrab /usr/bin/fbgrab
+- install fbgrab.1.man /usr/man/man1/fbgrab.1
++ install fbgrab ${DESTDIR}/usr/bin/fbgrab
++ install fbgrab.1.man ${DESTDIR}/usr/share/man/man1/fbgrab.1
+
+ clean:
+- rm -f fbgrab *~ \#*\#
+\ No newline at end of file
++ rm -f fbgrab *~ \#*\#
diff --git a/packages/fbgrab/fbgrab_1.0.bb b/packages/fbgrab/fbgrab_1.0.bb
index e69de29bb2..5f98871fe0 100644
--- a/packages/fbgrab/fbgrab_1.0.bb
+++ b/packages/fbgrab/fbgrab_1.0.bb
@@ -0,0 +1,12 @@
+SECTION = "console/network"
+DESCRIPTION = "framebuffer screenshot program"
+LICENSE = "GPL"
+
+SRC_URI = "http://hem.bredband.net/gmogmo/fbgrab/fbgrab-${PV}.tar.gz \
+ file://makefile.patch;patch=1"
+
+do_install() {
+ install -d ${D}${bindir} ${D}${mandir}/man1/
+ install -m 0755 fbgrab ${D}${bindir}
+ install -m 0644 fbgrab.1.man ${D}${mandir}/man1/fbgrab.1
+}