3 include $(TOPDIR)/rules.mk
6 PKG_VERSION:=cvs-20051227
8 PKG_MD5SUM:=7d5b8e9ab61a05658a5630f91505420d
10 PKG_SOURCE_URL:=http://trash.uid0.hu/openwrt
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 include $(TOPDIR)/package/rules.mk
18 $(eval $(call PKG_template,PWLIB,pwlib,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20 $(PKG_BUILD_DIR)/.configured:
21 ( cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
22 CFLAGS="$(TARGET_CFLAGS)" \
23 CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
24 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
25 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
26 $(TARGET_CONFIGURE_OPTS) \
28 --target=$(GNU_TARGET_NAME) \
29 --host=$(GNU_TARGET_NAME) \
30 --build=$(GNU_HOST_NAME) \
36 --datadir=/usr/share \
37 --includedir=/usr/include \
38 --infodir=/usr/share/info \
40 --libexecdir=/usr/lib \
41 --localstatedir=/var \
42 --mandir=/usr/share/man \
45 $(DISABLE_LARGEFILE) \
51 --disable-internalregex \
93 $(PKG_BUILD_DIR)/.built:
94 $(MAKE) -C $(PKG_BUILD_DIR) \
95 $(TARGET_CONFIGURE_OPTS) \
100 ln -s $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
103 rm -rf $(BUILD_DIR)/$(PKG_NAME)
105 compile-targets: $(PKG_BUILD_DIR)/.built install-link
106 clean-targets: uninstall-link