3 include $(TOPDIR
)/rules.mk
6 PKG_VERSION
:=cvs-20051230
8 PKG_MD5SUM
:=ba1ffd45016f533bec2bb1539b78e43a
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
,OPENH323
,openh323
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
22 rm -rf
$(PKG_INSTALL_DIR
);
23 mkdir
-p
$(PKG_INSTALL_DIR
);
24 ln
-s
$(PKG_BUILD_DIR
)/..
/pwlib-cvs-20051227
$(PKG_BUILD_DIR
)/..
/pwlib
;
25 cd
$(PKG_BUILD_DIR
); rm -rf config.
{cache
,status
}; \
26 CFLAGS
="$(TARGET_CFLAGS)" \
27 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
28 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
29 PWLIBDIR
="$(STAGING_DIR)" \
31 --prefix=$(STAGING_DIR
) \
32 --target
=$(GNU_TARGET_NAME
) \
33 --host
=$(GNU_TARGET_NAME
) \
34 --build
=$(GNU_HOST_NAME
) \
35 cd
$(PKG_BUILD_DIR
)/plugins
; rm -rf config.
{cache
,status
}; \
36 CFLAGS
="$(TARGET_CFLAGS)" \
37 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
38 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
39 PWLIBDIR
="$(STAGING_DIR)" \
41 --prefix=$(STAGING_DIR
)
44 $(PKG_BUILD_DIR
)/.built
:
45 CFLAGS
="$(TARGET_CFLAGS)" \
46 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
47 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
48 PWLIBDIR
="$(PKG_BUILD_DIR)/../pwlib-cvs-20051227/" \
49 $(MAKE
) -C
$(PKG_BUILD_DIR
)/plugins
$(TARGET_CONFIGURE_OPTS
)
51 CFLAGS
="$(TARGET_CFLAGS)" \
52 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
53 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
54 PWLIBDIR
="$(PKG_BUILD_DIR)/../pwlib-cvs-20051227/" \
55 $(MAKE
) -C
$(PKG_BUILD_DIR
) $(TARGET_CONFIGURE_OPTS
) opt
install