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
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,PWLIB
,pwlib
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
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
) \
30 --prefix=$(STAGING_DIR
) \
31 --target
=$(GNU_TARGET_NAME
) \
32 --host
=$(GNU_TARGET_NAME
) \
33 --build
=$(GNU_HOST_NAME
) \
55 $(PKG_BUILD_DIR
)/.built
:
56 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
57 $(TARGET_CONFIGURE_OPTS
) \