X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=net%2Fmiau%2FMakefile;h=f884eefeacd749b7d4fadc222780723f7df3b328;hp=97437b8b2373b89f47fbea7b45b9546c6cf8fdfd;hb=0cf5d7125e1e51ae324ca01b46f673f505fa11fa;hpb=75ea41a2c060b638aed79b8ce50de8f86505c1b3 diff --git a/net/miau/Makefile b/net/miau/Makefile index 97437b8b23..f884eefeac 100644 --- a/net/miau/Makefile +++ b/net/miau/Makefile @@ -9,13 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=miau -PKG_VERSION:=0.6.0.2 +PKG_VERSION:=0.6.5 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/miau -PKG_MD5SUM:=1b78d219a03655399c165eeb021cddd8 -PKG_CAT:=zcat +PKG_MD5SUM:=cbce4182d66430a965a5fff26738ce3f PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install @@ -23,42 +22,40 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install include $(INCLUDE_DIR)/package.mk define Package/miau + SUBMENU:=Instant Messaging SECTION:=net CATEGORY:=Network TITLE:=Another IRC-bouncer/proxy - DESCRIPTION:=\ - In short, miau is an IRC-bouncer/proxy.\\\ - Being more verbose, miau is small but quite featured \\\ - IRC-bouncer - a service bit like HTTP-proxy, but \\\ - for IRC-networks. URL:=http://sourceforge.net/projects/miau/ endef -define Build/Configure - $(call Build/Configure/Default, \ - --enable-automode \ - --enable-releasenick \ - --enable-uptime \ - --enable-privlog \ - --enable-onconnect \ - ) +define Package/miau/description + In short, miau is an IRC-bouncer/proxy. + Being more verbose, miau is small but quite featured + IRC-bouncer - a service bit like HTTP-proxy, but + for IRC-networks. endef -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install -endef +CONFIGURE_ARGS += \ + --enable-automode \ + --enable-releasenick \ + --enable-uptime \ + --enable-privlog \ + --enable-onconnect + +MAKE_FLAGS += \ + DESTDIR="$(PKG_INSTALL_DIR)" \ + all install define Package/miau/install - install -d -m0755 $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/ - install -d -m0755 $(1)/etc/init.d - install -d -m0755 $(1)/etc/default - install -d -m0755 $(1)/etc/miau - install -m0755 ./files/miau.init $(1)/etc/init.d/miau - install -m0644 ./files/miau $(1)/etc/default/miau - install -m0644 ./files/miaurc $(1)/etc/miau/miaurc + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_DIR) $(1)/etc/default + $(INSTALL_DIR) $(1)/etc/miau + $(INSTALL_BIN) ./files/miau.init $(1)/etc/init.d/miau + $(INSTALL_DATA) ./files/miau $(1)/etc/default/miau + $(INSTALL_DATA) ./files/miaurc $(1)/etc/miau/miaurc endef $(eval $(call BuildPackage,miau))