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
)/.built
:
19 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
21 CFLAGS
="$(TARGET_CFLAGS)" \
27 install -d
-m0755
$(IDIR_PSYBNC
)/usr
/share
/psybnc
/lang
/
28 install -d
-m0755
$(IDIR_PSYBNC
)/usr
/share
/psybnc
/log
/
29 install -d
-m0755
$(IDIR_PSYBNC
)/usr
/sbin
/
30 install -m0755
$(PKG_BUILD_DIR
)/psybnc
$(IDIR_PSYBNC
)/usr
/share
/psybnc
/
31 install -m0600
$(PKG_BUILD_DIR
)/psybnc.conf
$(IDIR_PSYBNC
)/usr
/share
/psybnc
/
32 install -m0644
$(PKG_BUILD_DIR
)/lang
/english.lng
$(IDIR_PSYBNC
)/usr
/share
/psybnc
/lang
/
33 install -m0755
$(PKG_BUILD_DIR
)/psybnc.sh
$(IDIR_PSYBNC
)/usr
/sbin
/psybnc
34 $(RSTRIP
) $(IDIR_PSYBNC
)
35 $(IPKG_BUILD
) $(IDIR_PSYBNC
) $(PACKAGE_DIR
)
38 -$(MAKE
) -C
$(PKG_BUILD_DIR
) clean
39 rm -f
$(PKG_BUILD_DIR
)/.built