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>
18 lines
461 B
Makefile
18 lines
461 B
Makefile
#############################################################
|
|
#
|
|
# SDL_net: network addon for SDL
|
|
#
|
|
#############################################################
|
|
SDL_NET_VERSION:=1.2.7
|
|
SDL_NET_SITE:=http://www.libsdl.org/projects/SDL_net/release
|
|
|
|
SDL_NET_CONF_OPT = --localstatedir=/var \
|
|
--with-sdl-prefix=$(STAGING_DIR)/usr \
|
|
--with-sdl-exec-prefix=$(STAGING_DIR)/usr
|
|
|
|
SDL_NET_INSTALL_STAGING = YES
|
|
|
|
SDL_NET_DEPENDENCIES = sdl
|
|
|
|
$(eval $(call AUTOTARGETS))
|