move sysfs to mount_root
[openwrt.git] / package / psybnc / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=psybnc
6 PKG_VERSION:=2.3.2-7
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=4b893a92f914813450e0921b2894ad6c
9
10 PKG_SOURCE_URL:=http://www.psybnc.info/download/beta/
11 PKG_SOURCE:=psyBNC-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,PSYBNC,psybnc,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 touch $@
22
23 $(PKG_BUILD_DIR)/.built:
24 $(MAKE) -C $(PKG_BUILD_DIR) \
25 CC="$(TARGET_CC)" \
26 CFLAGS="$(TARGET_CFLAGS)" \
27 HOSTCC="$(HOSTCC)" \
28 all
29 touch $@
30
31 $(IPKG_PSYBNC):
32 install -d -m0755 $(IDIR_PSYBNC)/usr/share/psybnc/lang/
33 install -d -m0755 $(IDIR_PSYBNC)/usr/share/psybnc/log/
34 install -d -m0755 $(IDIR_PSYBNC)/usr/sbin/
35 install -m0755 $(PKG_BUILD_DIR)/psybnc $(IDIR_PSYBNC)/usr/share/psybnc/
36 install -m0600 $(PKG_BUILD_DIR)/psybnc.conf $(IDIR_PSYBNC)/usr/share/psybnc/
37 install -m0644 $(PKG_BUILD_DIR)/lang/english.lng $(IDIR_PSYBNC)/usr/share/psybnc/lang/
38 install -m0755 $(PKG_BUILD_DIR)/psybnc.sh $(IDIR_PSYBNC)/usr/sbin/psybnc
39 $(RSTRIP) $(IDIR_PSYBNC)
40 $(IPKG_BUILD) $(IDIR_PSYBNC) $(PACKAGE_DIR)
41
42 mostlyclean:
43 -$(MAKE) -C $(PKG_BUILD_DIR) clean
44 rm -f $(PKG_BUILD_DIR)/.built
This page took 0.036075 seconds and 5 git commands to generate.