1 include $(TOPDIR
)/rules.mk
6 PKG_MD5SUM
:=4b893a92f914813450e0921b2894ad6c
8 PKG_SOURCE_URL
:=http
://www.psybnc.
info/download
/beta
/
9 PKG_SOURCE
:=psyBNC-
$(PKG_VERSION
).
tar.gz
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
14 include $(TOPDIR
)/package
/rules.mk
16 $(eval
$(call PKG_template
,PSYBNC
,psybnc
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
18 $(PKG_BUILD_DIR
)/.configured
:
21 $(PKG_BUILD_DIR
)/.built
:
22 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
24 CFLAGS
="$(TARGET_CFLAGS)" \
30 install -d
-m0755
$(IDIR_PSYBNC
)/usr
/share
/psybnc
/lang
/
31 install -d
-m0755
$(IDIR_PSYBNC
)/usr
/share
/psybnc
/log
/
32 install -d
-m0755
$(IDIR_PSYBNC
)/usr
/sbin
/
33 install -m0755
$(PKG_BUILD_DIR
)/psybnc
$(IDIR_PSYBNC
)/usr
/share
/psybnc
/
34 install -m0600
$(PKG_BUILD_DIR
)/psybnc.conf
$(IDIR_PSYBNC
)/usr
/share
/psybnc
/
35 install -m0644
$(PKG_BUILD_DIR
)/lang
/english.lng
$(IDIR_PSYBNC
)/usr
/share
/psybnc
/lang
/
36 install -m0755
$(PKG_BUILD_DIR
)/psybnc.sh
$(IDIR_PSYBNC
)/usr
/sbin
/psybnc
37 $(RSTRIP
) $(IDIR_PSYBNC
)
38 $(IPKG_BUILD
) $(IDIR_PSYBNC
) $(PACKAGE_DIR
)
41 -$(MAKE
) -C
$(PKG_BUILD_DIR
) clean
42 rm -f
$(PKG_BUILD_DIR
)/.built