aboutsummaryrefslogtreecommitdiff
path: root/package/fbgrab/fbgrab.mk
diff options
context:
space:
mode:
authorGravatar Daniel Nyström <daniel.nystrom@timeterminal.se>2010-12-09 16:28:29 +0100
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-12-13 17:09:22 +0100
commitf6cdaf5982097e3e2504c3e8209a2cc510a06576 (patch)
tree179b2edede29b5dd70d0a1da353d5e9822510d53 /package/fbgrab/fbgrab.mk
parent5a6f6bfe885754955b615ca9353baa3496682c6f (diff)
downloadbuildroot-f6cdaf5982097e3e2504c3e8209a2cc510a06576.tar.gz
buildroot-f6cdaf5982097e3e2504c3e8209a2cc510a06576.tar.bz2
New package: fbgrab
FBGrab is a framebuffer screenshot program, capturing the linux frambuffer and converting it to a png-picture. [Peter: drop zlib dep, add uninstall] Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/fbgrab/fbgrab.mk')
-rw-r--r--package/fbgrab/fbgrab.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/fbgrab/fbgrab.mk b/package/fbgrab/fbgrab.mk
new file mode 100644
index 0000000000..37f82ea418
--- /dev/null
+++ b/package/fbgrab/fbgrab.mk
@@ -0,0 +1,18 @@
+FBGRAB_VERSION = 1.0
+FBGRAB_SOURCE = fbgrab-$(FBGRAB_VERSION).tar.gz
+FBGRAB_SITE = http://hem.bredband.net/gmogmo/fbgrab
+FBGRAB_DEPENDENCIES = libpng
+
+define FBGRAB_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+define FBGRAB_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -D $(@D)/fbgrab $(TARGET_DIR)/usr/bin/fbgrab
+endef
+
+define FBGRAB_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/usr/bin/fbgrab
+endef
+
+$(eval $(call GENTARGETS,package,fbgrab))