diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-07-03 00:34:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-07-03 00:34:35 +0000 |
commit | 5497ee802a3ea266028da2c71472b99ce3556926 (patch) | |
tree | bd28eb6ce2effa38649d855efcaf481da4af8ef8 /package/irssi/Makefile | |
parent | 77b4fcd76ab43a90d9cdb53e4016ceb9fae78625 (diff) | |
download | upstream-5497ee802a3ea266028da2c71472b99ce3556926.tar.gz upstream-5497ee802a3ea266028da2c71472b99ce3556926.tar.bz2 upstream-5497ee802a3ea266028da2c71472b99ce3556926.zip |
add irssi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1319 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/irssi/Makefile')
-rw-r--r-- | package/irssi/Makefile | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/package/irssi/Makefile b/package/irssi/Makefile new file mode 100644 index 0000000000..fa70e148fb --- /dev/null +++ b/package/irssi/Makefile @@ -0,0 +1,70 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=irssi +PKG_VERSION:=0.8.9 +PKG_RELEASE:=1 + +PKG_SOURCE_URL:=http://irssi.org/files/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_MD5SUM:=1df516a770656ff0bec0ab62f9096bf6 +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,IRSSI,irssi,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + (cd $(PKG_BUILD_DIR); rm -rf config.cache; \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \ + ac_cv_c_bigendian=no \ + ac_cv_sizeof_off_t=8 \ + ./configure \ + --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --program-prefix="" \ + --with-perl=no \ + --with-glib1 \ + --with-gnu-ld \ + --with-textui \ + --without-terminfo \ + --without-bot \ + --without-file-offset-size \ + --without-ssl \ + $(DISABLE_NLS) \ + --disable-ssl \ + --disable-ipv6 \ + --disable-proxy \ + --with-glib-prefix=$(STAGING_DIR)/usr \ + ); + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC=$(TARGET_CC) + touch $@ + +$(IPKG_IRSSI): + mkdir -p $(IDIR_IRSSI)/usr/bin + cp $(PKG_BUILD_DIR)/src/fe-text/$(PKG_NAME) $(IDIR_IRSSI)/usr/bin/ + $(STRIP) $(IDIR_IRSSI)/usr/bin/* + $(IPKG_BUILD) $(IDIR_IRSSI) $(PACKAGE_DIR) + +mostlyclean: + $(MAKE) -C $(PKG_BUILD_DIR) clean + rm -f $(PKG_BUILD_DIR)/.built |