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>
It turns out that renaming SDL_net to sdl_net (688c388ce7) isn't
such a good idea, as the name is also used for the tarball filename to
download.
Instead go back to use SDL_net again, and simply add an sdl_net alias.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
As suggested by Julien Boibessot <julien.boibessot@free.fr>.
The other SDL extensions use sdl_xx, and not SDL_xx, so rename sdl_net
to match.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This patch install with install-strip to the target and uses the default for
installing to staging. Makes the makefile even more compact, and also more
correct with using install-strip to get proper stripping of the installed
library.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
This patch adds a new package SDL_net. SDL_net is a small, low-level,
cross-platform network library, that can be used with the Simple DirectMedia
Layer library (SDL).
http://www.libsdl.org/projects/SDL_net/
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>