source: freewrt/package/irssi/Makefile@ 621d5d2

freewrt_2_0
Last change on this file since 621d5d2 was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

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

  • Property mode set to 100644
File size: 1.6 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= irssi
10PKG_VERSION:= 0.8.10
11PKG_RELEASE:= 1
12PKG_MD5SUM:= 38e616bccb6a34ff6d91690317c2fa19
13
14PKG_SOURCE_URL:= http://irssi.org/files/
15PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION)a.tar.bz2
16
17include $(TOPDIR)/mk/package.mk
18
19$(eval $(call PKG_template,IRSSI,irssi,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(WRKBUILD)/.configured:
22 (cd $(WRKBUILD); rm -rf config.cache; \
23 $(TARGET_CONFIGURE_OPTS) \
24 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
25 ac_cv_c_bigendian=no \
26 ac_cv_sizeof_off_t=8 \
27 ./configure \
28 --target=$(GNU_TARGET_NAME) \
29 --host=$(GNU_TARGET_NAME) \
30 --build=$(GNU_HOST_NAME) \
31 --prefix=/usr \
32 --exec-prefix=/usr \
33 --bindir=/usr/bin \
34 --sbindir=/usr/sbin \
35 --libexecdir=/usr/lib \
36 --sysconfdir=/etc \
37 --datadir=/usr/share \
38 --localstatedir=/var \
39 --mandir=/usr/man \
40 --infodir=/usr/info \
41 --program-prefix="" \
42 --with-perl=no \
43 --with-glib1 \
44 --with-gnu-ld \
45 --with-textui \
46 --without-terminfo \
47 --without-bot \
48 --without-file-offset-size \
49 --without-ssl \
50 --disable-nls \
51 --disable-ssl \
52 --disable-ipv6 \
53 --disable-proxy \
54 --with-glib-prefix=$(STAGING_DIR)/usr \
55 );
56 touch $@
57
58$(WRKBUILD)/.built:
59 $(MAKE) -C $(WRKBUILD) \
60 CC=$(TARGET_CC)
61 touch $@
62
63$(IPKG_IRSSI):
64 mkdir -p $(IDIR_IRSSI)/usr/bin
65 $(CP) $(WRKBUILD)/src/fe-text/$(PKG_NAME) $(IDIR_IRSSI)/usr/bin/
66 $(RSTRIP) $(IDIR_IRSSI)
67 $(IPKG_BUILD) $(IDIR_IRSSI) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.