source: freewrt/package/psybnc/Makefile@ 7669240

freewrt_1_0 freewrt_2_0
Last change on this file since 7669240 was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.3 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= psybnc
10PKG_VERSION:= 2.3.2-7
11PKG_RELEASE:= 1
12PKG_MD5SUM:= 4b893a92f914813450e0921b2894ad6c
13
14PKG_SOURCE_URL:= http://www.psybnc.net/
15PKG_SOURCE:= psyBNC-$(PKG_VERSION).tar.gz
16
17WRKSRC= ${WRKDIR}/$(PKG_NAME)
18
19include $(TOPDIR)/mk/package.mk
20
21$(eval $(call PKG_template,PSYBNC,psybnc,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
22
23$(WRKBUILD)/.configured:
24 touch $@
25
26$(WRKBUILD)/.built:
27 $(MAKE) -C $(WRKBUILD) \
28 CC="$(TARGET_CC)" \
29 CFLAGS="$(TARGET_CFLAGS)" \
30 HOSTCC="$(HOSTCC)" \
31 all
32 touch $@
33
34$(IPKG_PSYBNC):
35 install -d -m0755 $(IDIR_PSYBNC)/usr/share/psybnc/lang/
36 install -d -m0755 $(IDIR_PSYBNC)/usr/share/psybnc/log/
37 install -d -m0755 $(IDIR_PSYBNC)/usr/sbin/
38 install -m0755 $(WRKBUILD)/psybnc $(IDIR_PSYBNC)/usr/share/psybnc/
39 install -m0600 $(WRKBUILD)/psybnc.conf $(IDIR_PSYBNC)/usr/share/psybnc/
40 install -m0644 $(WRKBUILD)/lang/english.lng $(IDIR_PSYBNC)/usr/share/psybnc/lang/
41 install -m0755 $(WRKBUILD)/psybnc.sh $(IDIR_PSYBNC)/usr/sbin/psybnc
42 $(RSTRIP) $(IDIR_PSYBNC)
43 $(IPKG_BUILD) $(IDIR_PSYBNC) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.