source: freewrt/package/irssi/Makefile@ 428f140

freewrt_1_0 freewrt_2_0
Last change on this file since 428f140 was c57fbc9, checked in by Thorsten Glaser <tg@…>, 19 years ago

nuke DISABLE_NLS, DISABLE_LARGEFILE, replace globally
with --disable-nls and --enable-largefile, because it
doesn't make sense otherwise and/or breaks.

Requested by wbx@ in Message-ID: <20060618220406.GL6291@…>
Done using find and ed(1)

git-svn-id: svn://www.freewrt.org/trunk/freewrt@152 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.6 KB
Line 
1# $Id: Makefile 3390 2006-03-17 11:08:33Z olli $
2
3include $(TOPDIR)/rules.mk
4
5PKG_NAME:=irssi
6PKG_VERSION:=0.8.10
7PKG_RELEASE:=1
8
9PKG_SOURCE_URL:=http://irssi.org/files/
10PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)a.tar.bz2
11PKG_MD5SUM:=38e616bccb6a34ff6d91690317c2fa19
12PKG_CAT:=bzcat
13
14PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16include $(TOPDIR)/package/rules.mk
17
18$(eval $(call PKG_template,IRSSI,irssi,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
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 \
26 ./configure \
27 --target=$(GNU_TARGET_NAME) \
28 --host=$(GNU_TARGET_NAME) \
29 --build=$(GNU_HOST_NAME) \
30 --prefix=/usr \
31 --exec-prefix=/usr \
32 --bindir=/usr/bin \
33 --sbindir=/usr/sbin \
34 --libexecdir=/usr/lib \
35 --sysconfdir=/etc \
36 --datadir=/usr/share \
37 --localstatedir=/var \
38 --mandir=/usr/man \
39 --infodir=/usr/info \
40 --program-prefix="" \
41 --with-perl=no \
42 --with-glib1 \
43 --with-gnu-ld \
44 --with-textui \
45 --without-terminfo \
46 --without-bot \
47 --without-file-offset-size \
48 --without-ssl \
49 --disable-nls \
50 --disable-ssl \
51 --disable-ipv6 \
52 --disable-proxy \
53 --with-glib-prefix=$(STAGING_DIR)/usr \
54 );
55 touch $@
56
57$(PKG_BUILD_DIR)/.built:
58 $(MAKE) -C $(PKG_BUILD_DIR) \
59 CC=$(TARGET_CC)
60 touch $@
61
62$(IPKG_IRSSI):
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)
67
68mostlyclean:
69 $(MAKE) -C $(PKG_BUILD_DIR) clean
70 rm -f $(PKG_BUILD_DIR)/.built
Note: See TracBrowser for help on using the repository browser.