300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS 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>
22 lines
614 B
Makefile
22 lines
614 B
Makefile
#############################################################
|
|
#
|
|
# fltk
|
|
#
|
|
#############################################################
|
|
|
|
FLTK_VERSION = 1.1.7
|
|
FLTK_SOURCE = fltk-$(FLTK_VERSION)-source.tar.bz2
|
|
FLTK_SITE = http://ftp.easysw.com/pub/fltk/1.1.7/
|
|
FLTK_AUTORECONF = NO
|
|
FLTK_INSTALL_STAGING = YES
|
|
FLTK_INSTALL_TARGET = YES
|
|
|
|
FLTK_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) STRIP=$(TARGET_STRIP) install
|
|
FLTK_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) STRIP=$(TARGET_STRIP) install
|
|
|
|
FLTK_CONF_OPT = --enable-threads --with-x
|
|
|
|
FLTK_DEPENDENCIES = xserver_xorg-server xlib_libXt
|
|
|
|
$(eval $(call AUTOTARGETS))
|