mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-04 02:43:30 +08:00
0849e8193e
Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
19 lines
438 B
Makefile
19 lines
438 B
Makefile
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))
|