On Thu, Jul 12, 2018 at 07:30:54PM +0200, Michael Grzeschik wrote: > Signed-off-by: Michael Grzeschik <[email protected]> > --- > rules/sdl2-net.in | 10 ++++++++ > rules/sdl2-net.make | 58 +++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 68 insertions(+) > create mode 100644 rules/sdl2-net.in > create mode 100644 rules/sdl2-net.make > > diff --git a/rules/sdl2-net.in b/rules/sdl2-net.in > new file mode 100644 > index 000000000..02c5a447b > --- /dev/null > +++ b/rules/sdl2-net.in > @@ -0,0 +1,10 @@ > +## SECTION=multimedia_sdl > + > +config SDL2_NET > + tristate > + select SDL2 > + prompt "SDL2 net "
only menuconfig entries are padded with spaces. > + help > + This is a small sample cross-platform networking library, with > + a sample chat client and server application. The chat client > + uses the GUIlib GUI framework library. > diff --git a/rules/sdl2-net.make b/rules/sdl2-net.make > new file mode 100644 > index 000000000..6d45b0e2c > --- /dev/null > +++ b/rules/sdl2-net.make > @@ -0,0 +1,58 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2018 by Michael Grzeschik <[email protected]> > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_SDL2_NET) += sdl2-net > + > +# > +# Paths and names > +# > +SDL2_NET_VERSION := 2.0.1 > +SDL2_NET_MD5 := 5c1d9d1cfa63301b141cb5c0de2ea7c4 > +SDL2_NET := SDL2_net-$(SDL2_NET_VERSION) > +SDL2_NET_SUFFIX := tar.gz > +SDL2_NET_URL := > https://www.libsdl.org/projects/SDL_net/release/$(SDL2_NET).$(SDL2_NET_SUFFIX) > +SDL2_NET_SOURCE := $(SRCDIR)/$(SDL2_NET).$(SDL2_NET_SUFFIX) > +SDL2_NET_DIR := $(BUILDDIR)/$(SDL2_NET) > +SDL2_NET_LICENSE := unknown Set the correct license. The same for all other packages. > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +SDL2_NET_CONF_TOOL := autoconf > + > +ifdef PTXCONF_SDL2_PULSEAUDIO > +SDL2_NET_LDFLAGS := \ no space. The same for all other packages. Michael > + -Wl,-rpath-link,$(SYSROOT)/usr/lib/pulseaudio > +endif > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/sdl2-net.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, sdl2-net) > + @$(call install_fixup, sdl2-net,PRIORITY,optional) > + @$(call install_fixup, sdl2-net,SECTION,base) > + @$(call install_fixup, sdl2-net,AUTHOR,"Michael Grzeschik > <[email protected]>") > + @$(call install_fixup, sdl2-net,DESCRIPTION,missing) > + > + @$(call install_lib, sdl2-net, 0, 0, 0644, libSDL2_net-2.0) > + > + @$(call install_finish, sdl2-net) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 2.18.0 > > > _______________________________________________ > ptxdist mailing list > [email protected] -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list [email protected]
