kumquat-buildroot/package/sdl_net/sdl_net.mk
Thomas Petazzoni 300f9c9c9d package: remove useless arguments from AUTOTARGETS
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>
2011-09-29 23:12:27 +02:00

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))