clean up the openswan patch to work with older patch versions as well
[openwrt.git] / package / pwlib / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=pwlib
6 PKG_VERSION:=cvs-20051227
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=7d5b8e9ab61a05658a5630f91505420d
9
10 PKG_SOURCE_URL:=http://trash.uid0.hu/openwrt
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,PWLIB,pwlib,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 rm -rf $(PKG_INSTALL_DIR)
23 mkdir -p $(PKG_INSTALL_DIR)
24 cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
25 CFLAGS="$(TARGET_CFLAGS)" \
26 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
27 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
28 $(TARGET_CONFIGURE_OPTS) \
29 ./configure \
30 --prefix=$(STAGING_DIR) \
31 --target=$(GNU_TARGET_NAME) \
32 --host=$(GNU_TARGET_NAME) \
33 --build=$(GNU_HOST_NAME) \
34 --enable-openh323 \
35 --disable-openldap \
36 --disable-openssl \
37 --disable-ftp \
38 --disable-qos \
39 --disable-expat \
40 --disable-jabber \
41 --disable-xmlrpc \
42 --disable-ipv6 \
43 --disable-sdl \
44 --disable-video \
45 --disable-socks \
46 --disable-ftp \
47 --disable-snmp \
48 --disable-telnet \
49 --disable-serial
50 --disable-pop3smtp \
51 --disable-http \
52 --disable-httpsvc
53 touch $@
54
55 $(PKG_BUILD_DIR)/.built:
56 $(MAKE) -C $(PKG_BUILD_DIR) \
57 $(TARGET_CONFIGURE_OPTS) \
58 all install
59 touch $@
This page took 0.056048 seconds and 5 git commands to generate.