Changeset 4500


Ignore:
Timestamp:
2006-08-07T11:14:27+02:00 (12 years ago)
Author:
florian
Message:

Port psybnc to -ng

Location:
packages/net/psybnc
Files:
2 deleted
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • packages/net/psybnc/Makefile

    r2749 r4500  
     1# 
     2# Copyright (C) 2006 OpenWrt.org 
     3# 
     4# This is free software, licensed under the GNU General Public License v2. 
     5# See /LICENSE for more information. 
     6# 
    17# $Id$ 
    28 
     
    1420PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) 
    1521 
    16 include $(TOPDIR)/package/rules.mk 
     22include $(INCLUDE_DIR)/package.mk 
    1723 
    18 $(eval $(call PKG_template,PSYBNC,psybnc,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 
     24define Package/psybnc 
     25  SECTION:=net 
     26  CATEGORY:=Network 
     27  DEPENDS:= 
     28  TITLE:=An IRC-Bouncer with many features 
     29  DESCRIPTION:=psyBNC is an easy-to-use, multi-user, permanent\\\ 
     30        IRC-Bouncer with many features. Some of its features\\\ 
     31        vhost- and relay support to connected bouncers and an\\\ 
     32        extensive online help system. Many other helpful\\\ 
     33        functions are included.\\\ 
     34  URL:=http://www.psybnc.info/ 
     35endef 
    1936 
    20 $(PKG_BUILD_DIR)/.configured: 
    21         touch $@ 
    22  
    23 $(PKG_BUILD_DIR)/.built: 
     37define Build/Compile     
    2438        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    2539                CC="$(TARGET_CC)" \ 
     
    2741                HOSTCC="$(HOSTCC)" \ 
    2842                all 
    29         touch $@ 
     43endef 
    3044 
    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) 
     45define Package/psybnc/install    
     46        install -d -m0755 $(1)/usr/share/psybnc/lang/ 
     47        install -d -m0755 $(1)/usr/share/psybnc/log/ 
     48        install -d -m0755 $(1)/usr/sbin/ 
     49        install -m0755 $(PKG_BUILD_DIR)/psybnc $(1)/usr/share/psybnc/ 
     50        install -m0600 $(PKG_BUILD_DIR)/psybnc.conf $(1)/usr/share/psybnc/ 
     51        install -m0644 $(PKG_BUILD_DIR)/lang/english.lng $(1)/usr/share/psybnc/lang/ 
     52        install -m0755 $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc 
     53endef 
    4154 
    42 mostlyclean: 
    43         -$(MAKE) -C $(PKG_BUILD_DIR) clean 
    44         rm -f $(PKG_BUILD_DIR)/.built 
     55$(eval $(call BuildPackage,psybnc)) 
Note: See TracChangeset for help on using the changeset viewer.