aboutsummaryrefslogtreecommitdiff
path: root/package/fbgrab/fbgrab.mk
blob: 37f82ea4187fd3e7e3fc1a9abf07c8e0c0f5850d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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))