3 include $(TOPDIR)/rules.mk
9 PKG_SOURCE_URL:=http://irssi.org/files/
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11 PKG_MD5SUM:=1df516a770656ff0bec0ab62f9096bf6
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 include $(TOPDIR)/package/rules.mk
18 $(eval $(call PKG_template,IRSSI,irssi,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20 $(PKG_BUILD_DIR)/.configured:
21 (cd $(PKG_BUILD_DIR); rm -rf config.cache; \
22 $(TARGET_CONFIGURE_OPTS) \
23 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
24 ac_cv_c_bigendian=no \
25 ac_cv_sizeof_off_t=8 \
27 --target=$(GNU_TARGET_NAME) \
28 --host=$(GNU_TARGET_NAME) \
29 --build=$(GNU_HOST_NAME) \
34 --libexecdir=/usr/lib \
36 --datadir=/usr/share \
37 --localstatedir=/var \
47 --without-file-offset-size \
53 --with-glib-prefix=$(STAGING_DIR)/usr \
57 $(PKG_BUILD_DIR)/.built:
58 $(MAKE) -C $(PKG_BUILD_DIR) \
63 mkdir -p $(IDIR_IRSSI)/usr/bin
64 $(CP) $(PKG_BUILD_DIR)/src/fe-text/$(PKG_NAME) $(IDIR_IRSSI)/usr/bin/
65 $(STRIP) $(IDIR_IRSSI)/usr/bin/*
66 $(IPKG_BUILD) $(IDIR_IRSSI) $(PACKAGE_DIR)
69 $(MAKE) -C $(PKG_BUILD_DIR) clean
70 rm -f $(PKG_BUILD_DIR)/.built