From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add LBreakout2 package (SDL game)
Date: Mon, 6 Jan 2014 17:26:37 +0800 [thread overview]
Message-ID: <20140106172637.6a479999@skate> (raw)
In-Reply-To: <1388999577-9681-1-git-send-email-julien.boibessot@free.fr>
Julien,
Thanks for contributing this patch!
On Mon, 6 Jan 2014 10:12:57 +0100, julien.boibessot at free.fr wrote:
> --- /dev/null
> +++ b/package/lbreakout2/lbreakout2.mk
> @@ -0,0 +1,30 @@
> +#############################################################
> +#
> +# LBreakout2
This should be all lower case.
> +#
> +#############################################################
> +
> +LBREAKOUT2_SITE = http://sourceforge.net/projects/lgames/files/lbreakout2/2.6/
This should use a downloads.sourceforge.net URL, like all other
sourceforge packages in BR.
> +LBREAKOUT2_VERSION = 2.6.3
There is a newer 2.6.4 version.
> +LBREAKOUT2_LICENSE = GPLv2
License is GPLv2+
> +LBREAKOUT2_LICENSE_FILES = COPYING
> +
> +LBREAKOUT2_DEPENDENCIES = sdl libpng
> +LBREAKOUT2_CONF_OPT = --disable-nls
Passing this option is not needed. It is automatically passed by the
autotools infrastructure we needed.
> +
> +ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
> +LBREAKOUT2_DEPENDENCIES += sdl_mixer
Maybe pass --enable-audio here.
> +else
> +LBREAKOUT2_CONF_OPT += --disable-audio
> +endif
> +
> +ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
> +LBREAKOUT2_DEPENDENCIES += sdl_net
And --enable-network here.
> +else
> +LBREAKOUT2_CONF_OPT += --disable-network
> +endif
> +
> +LBREAKOUT2_CONF_ENV = \
> + SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
> +
> +$(eval $(autotools-package))
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2014-01-06 9:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-06 9:12 [Buildroot] [PATCH] Add LBreakout2 package (SDL game) julien.boibessot at free.fr
2014-01-06 9:26 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140106172637.6a479999@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox