From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 5/6] vpnc: convert to generic-package infrastructure
Date: Mon, 08 Oct 2012 23:14:12 +0200 [thread overview]
Message-ID: <87r4p81xaz.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1348266518-27665-6-git-send-email-s.martin49@gmail.com> (Samuel Martin's message of "Sat, 22 Sep 2012 00:28:37 +0200")
>>>>> "Samuel" == Samuel Martin <s.martin49@gmail.com> writes:
Samuel> Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Samuel> create mode 100644 package/vpnc/vpnc-0.5.3-fix-build.patch
Samuel> +VPNC_VERSION = 0.5.3
Samuel> +VPNC_SITE = http://www.unix-ag.uni-kl.de/~massar/vpnc
Samuel> +VPNC_LICENSE = GPLv2+
Samuel> +VPNC_LICENSE_FILES = COPYING
Samuel> +
Samuel> +VPNC_DEPENDENCIES = libgcrypt libgpg-error
Samuel> +
Samuel> +VPNC_LDFLAGS = $(TARGET_LDFLAGS) -lgcrypt -lgpg-error
Samuel> +VPNC_CPPFLAGS = -DVERSION=\\\"$(VPNC_VERSION)\\\"
Samuel> +
Samuel> +define VPNC_BUILD_CMDS
Samuel> + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CC="$(TARGET_CC)" \
Samuel> + CPPFLAGS="$(VPNC_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" \
Samuel> + LDFLAGS="$(VPNC_LDFLAGS)"
CC and CFLAGS are included in TARGET_CONFIGURE_OPTS, so those can be
dropped.
Samuel> +endef
Samuel> +
Samuel> +define VPNC_INSTALL_TARGET_CMDS
Samuel> + $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(@D)/vpnc
Samuel> + $(MAKE) -C $(@D) install $(TARGET_CONFIGURE_OPTS) \
Samuel> + CPPFLAGS="$(VPNC_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" \
Samuel> + LDFLAGS="$(VPNC_LDFLAGS)" DESTDIR="$(TARGET_DIR)" PREFIX=/usr
Samuel> +endef
The explicit STRIPCMD shouldn't be used, and CFLAGS can again be
dropped.
Committed with those fixes, thanks.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2012-10-08 21:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-21 22:28 [Buildroot] [PATCH 0/6] Convert all remaining handwritten packages to gentarget infrastructure Samuel Martin
2012-09-21 22:28 ` [Buildroot] [PATCH 1/6] netkitbase: convert to the generic-package infrastructure Samuel Martin
2012-10-09 7:39 ` Peter Korsgaard
2012-09-21 22:28 ` [Buildroot] [PATCH 2/6] netkittelnet: convert to " Samuel Martin
2012-10-09 7:40 ` Peter Korsgaard
2012-09-21 22:28 ` [Buildroot] [PATCH 3/6] ttcp: " Samuel Martin
2012-10-08 21:09 ` Peter Korsgaard
2012-09-21 22:28 ` [Buildroot] [PATCH 4/6] newt: " Samuel Martin
2012-10-08 21:05 ` Peter Korsgaard
2012-09-21 22:28 ` [Buildroot] [PATCH 5/6] vpnc: " Samuel Martin
2012-10-08 21:14 ` Peter Korsgaard [this message]
2012-09-21 22:28 ` [Buildroot] [PATCH 6/6] manual: remove Manual Makefile section Samuel Martin
2012-10-21 19:40 ` Peter Korsgaard
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=87r4p81xaz.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.