unlock linux partition before running jffs2root --clean. fixes #97
[openwrt.git] / openwrt / package / psybnc / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=psybnc
4 PKG_VERSION:=2.3.2-7
5 PKG_RELEASE:=1
6 PKG_MD5SUM:=4b893a92f914813450e0921b2894ad6c
7
8 PKG_SOURCE_URL:=http://www.psybnc.info/download/beta/
9 PKG_SOURCE:=psyBNC-$(PKG_VERSION).tar.gz
10 PKG_CAT:=zcat
11
12 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
13
14 include $(TOPDIR)/package/rules.mk
15
16 $(eval $(call PKG_template,PSYBNC,psybnc,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
17
18 $(PKG_BUILD_DIR)/.configured:
19 touch $@
20
21 $(PKG_BUILD_DIR)/.built:
22 $(MAKE) -C $(PKG_BUILD_DIR) \
23 CC="$(TARGET_CC)" \
24 CFLAGS="$(TARGET_CFLAGS)" \
25 HOSTCC="$(HOSTCC)" \
26 all
27 touch $@
28
29 $(IPKG_PSYBNC):
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)
39
40 mostlyclean:
41 -$(MAKE) -C $(PKG_BUILD_DIR) clean
42 rm -f $(PKG_BUILD_DIR)/.built
This page took 0.039019 seconds and 5 git commands to generate.