1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
# -*-makefile-*-
#
# Copyright (C) 2009 by Robert Schwebel <r.schwebel@pengutronix.de>
#
# 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_NETWORKMANAGER) += networkmanager
#
# Paths and names
#
NETWORKMANAGER_VERSION := 0.7.0
NETWORKMANAGER := NetworkManager-$(NETWORKMANAGER_VERSION)
NETWORKMANAGER_SUFFIX := tar.gz
NETWORKMANAGER_URL := http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/0.7/$(NETWORKMANAGER).$(NETWORKMANAGER_SUFFIX)
NETWORKMANAGER_SOURCE := $(SRCDIR)/$(NETWORKMANAGER).$(NETWORKMANAGER_SUFFIX)
NETWORKMANAGER_DIR := $(BUILDDIR)/$(NETWORKMANAGER)
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
$(NETWORKMANAGER_SOURCE):
@$(call targetinfo)
@$(call get, NETWORKMANAGER)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
NETWORKMANAGER_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--enable-shared \
--enable-static \
--enable-more-warnings \
--disable-gtk-doc \
--with-gnu-ld \
--without-docs \
--with-distro=debian
# --with-tags[=TAGS] include additional configurations [automatic]
# --with-distro=DISTRO Specify the Linux distribution to target: One of
# redhat, suse, gentoo, debian, arch, slackware, paldo
# or mandriva
# --with-crypto=nss | gnutls
# Cryptography library to use for certificate and key
# operations
# --with-dbus-sys-dir=DIR where D-BUS system.d directory is
# --with-pppd-plugin-dir=DIR
# path to the pppd plugins directory
# --with-dhcp-client=dhcpcd|dhclient
# path to the chosen dhcp client
# --with-resolvconf=yes|no|path
# Enable resolvconf support
# --with-system-ca-path=/path/to/ssl/certs
# path to system CA certificates
# --with-html-dir=PATH path to installed docs
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/networkmanager.targetinstall:
@$(call targetinfo)
@$(call install_init, networkmanager)
@$(call install_fixup, networkmanager,PACKAGE,networkmanager)
@$(call install_fixup, networkmanager,PRIORITY,optional)
@$(call install_fixup, networkmanager,VERSION,$(NETWORKMANAGER_VERSION))
@$(call install_fixup, networkmanager,SECTION,base)
@$(call install_fixup, networkmanager,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, networkmanager,DEPENDS,)
@$(call install_fixup, networkmanager,DESCRIPTION,missing)
@$(call install_copy, networkmanager, 0, 0, 0755, $(NETWORKMANAGER_DIR)/foobar, /dev/null)
@$(call install_finish, networkmanager)
@$(call touch)
# vim: syntax=make
|