fix description field in the p910nd control file
[openwrt.git] / package / xsupplicant / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=xsupplicant
6 PKG_VERSION:=1.2.2
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=0e9aaf83a11f8eaff7c6564a53c25d8e
9
10 PKG_SOURCE_URL:=@SF/open1x
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,XSUPPLICANT,xsupplicant,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
23 touch configure.in; \
24 touch aclocal.m4; \
25 touch Makefile.in; \
26 touch configure; \
27 $(TARGET_CONFIGURE_OPTS) \
28 CFLAGS="$(TARGET_CFLAGS)" \
29 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
30 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
31 ./configure \
32 --target=$(GNU_TARGET_NAME) \
33 --host=$(GNU_TARGET_NAME) \
34 --build=$(GNU_HOST_NAME) \
35 --program-prefix="" \
36 --program-suffix="" \
37 --prefix=/usr \
38 --exec-prefix=/usr \
39 --bindir=/usr/bin \
40 --datadir=/usr/share \
41 --includedir=/usr/include \
42 --infodir=/usr/share/info \
43 --libdir=/usr/lib \
44 --libexecdir=/usr/lib \
45 --localstatedir=/var \
46 --mandir=/usr/share/man \
47 --sbindir=/usr/sbin \
48 --sysconfdir=/etc \
49 $(DISABLE_LARGEFILE) \
50 $(DISABLE_NLS) \
51 --with-openssl="$(STAGING_DIR)/usr" \
52 --with-madwifi-path="$(STAGING_DIR)/usr/include/madwifi" \
53 );
54 touch $@
55
56 $(PKG_BUILD_DIR)/.built:
57 rm -rf $(PKG_INSTALL_DIR)
58 mkdir -p $(PKG_INSTALL_DIR)
59 $(MAKE) -C $(PKG_BUILD_DIR) \
60 DESTDIR=$(PKG_INSTALL_DIR) \
61 all install
62 touch $@
63
64 $(IPKG_XSUPPLICANT):
65 install -d -m0755 $(IDIR_XSUPPLICANT)/etc
66 install -m0644 $(PKG_BUILD_DIR)/etc/xsupplicant.conf $(IDIR_XSUPPLICANT)/etc/
67 install -d -m0755 $(IDIR_XSUPPLICANT)/usr/bin
68 $(CP) $(PKG_INSTALL_DIR)/usr/bin/xsup_* $(IDIR_XSUPPLICANT)/usr/bin/
69 install -d -m0755 $(IDIR_XSUPPLICANT)/usr/sbin
70 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/xsupplicant $(IDIR_XSUPPLICANT)/usr/sbin/
71 $(RSTRIP) $(IDIR_XSUPPLICANT)
72 $(IPKG_BUILD) $(IDIR_XSUPPLICANT) $(PACKAGE_DIR)
This page took 0.045766 seconds and 5 git commands to generate.