3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=a4d7daa9b64898dd41a3a6d104692d9a
10 PKG_SOURCE_URL
:=http
://get.bitlbee.org
/src \
11 http
://get.bitlbee.be
/src \
12 http
://get.us.bitlbee.org
/src \
13 http
://ftp.snt.utwente.nl
/pub
/software
/bitlbee
/src
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
18 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
20 include $(TOPDIR
)/package
/rules.mk
22 $(eval
$(call PKG_template
,BITLBEE
,bitlbee
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
24 $(PKG_BUILD_DIR
)/.configured
:
25 (cd
$(PKG_BUILD_DIR
); \
26 $(TARGET_CONFIGURE_OPTS
) \
27 CFLAGS
="$(TARGET_CFLAGS)" \
28 CPPFLAGS
="-I$(STAGING_DIR)/usr/include" \
29 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
30 STAGING_DIR
="$(STAGING_DIR)" \
35 --etcdir
=/etc
/bitlbee
/ \
36 --datadir=/usr
/share
/bitlbee
/ \
37 --config
=/var
/lib
/bitlbee
/ \
46 --glib1prefix
="$(STAGING_DIR)/usr" \
50 $(PKG_BUILD_DIR
)/.built
:
51 $(MAKE
) -C
$(PKG_BUILD_DIR
)
55 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
56 DESTDIR
="$(IDIR_BITLBEE)" install-etc install-bin
57 $(MAKE
) -C
$(PKG_BUILD_DIR
)/doc
/user-guide \
58 DESTDIR
="$(IDIR_BITLBEE)" install
59 install -d
-m0755
$(IDIR_BITLBEE
)/etc
/init.d
60 install -m0755 .
/files
/S55bitlbee
$(IDIR_BITLBEE
)/etc
/init.d
/S55bitlbee
61 $(IPKG_BUILD
) $(IDIR_BITLBEE
) $(PACKAGE_DIR
)
65 $(MAKE
) -C
$(PKG_BUILD_DIR
) clean
66 rm -f
$(PKG_BUILD_DIR
)/.built