Permalink
Browse files

* add new package gntp-send - a command line tool for sending notifi…

…cations to [http://growl.info/ Growl]

 * by zickedi


git-svn-id: file:///var/svn/freetz/trunk@10289 149334a1-2f27-0410-a3b9-fc62619ac1e6
  • Loading branch information...
1 parent eada10a commit dc668647bc660f20901728e2447ef49a5937d36b er13 committed Mar 23, 2013
View
@@ -94,6 +94,7 @@ Latest changes:
* dvbtune 0.5
* fowsr 1.0
* Ghostscript fonts 8.11
+ * gntp-send 0.3.2-git
* html2text 1.3.2a
* ImageMagick 6.8.3-9
* inadyn-opendns 1.99
View
@@ -122,6 +122,7 @@ source make/fowsr/Config.in
source make/fstyp/Config.in
source make/ghostscript-fonts/Config.in
source make/git/Config.in
+source make/gntpsend/Config.in
source make/gnu-make/Config.in
source make/gnutls/Config.in
source make/gocr/Config.in
View
@@ -22,6 +22,7 @@ source make/ffmpeg/external.in
source make/gdb/external.in
source make/ghostscript-fonts/external.in
source make/git/external.in
+source make/gntpsend/external.in
source make/gnu-make/external.in
source make/gnutls/external.in
source make/gocr/external.in
View
@@ -0,0 +1,10 @@
+config FREETZ_PACKAGE_GNTPSEND
+ bool "gntpsend 0.3.2-git (binary only)"
+ default n
+ help
+ Growl is a notification system for the Mac OS X. Applications can use Growl
+ to display small notifications about events which the user deems important,
+ in a consistent manner.
+
+ This package provides a tool 'gntp-send' which allows to send notifications
+ to Growl.
@@ -0,0 +1 @@
+[ "$EXTERNAL_FREETZ_PACKAGE_GNTPSEND" == "y" ] && EXTERNAL_FILES+=" /usr/bin/gntp-send"
@@ -0,0 +1,7 @@
+config EXTERNAL_FREETZ_PACKAGE_GNTPSEND
+ depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_GNTPSEND
+ bool "gntp-send"
+ default n
+ help
+ externals the following file(s):
+ /usr/bin/gntp-send
View
@@ -0,0 +1,35 @@
+$(call PKG_INIT_BIN, 8241d46903)
+$(PKG)_SOURCE := $(pkg)-$($(PKG)_VERSION).tar.xz
+$(PKG)_SITE := git@https://github.com/mattn/gntp-send.git
+
+$(PKG)_BINARY := $($(PKG)_DIR)/gntp-send
+$(PKG)_TARGET_BINARY := $($(PKG)_DEST_DIR)/usr/bin/gntp-send
+
+$(PKG)_BUILD_PREREQ += libtoolize aclocal automake autoconf
+
+$(PKG)_CONFIGURE_PRE_CMDS += ./autogen.sh;
+
+$(PKG)_CONFIGURE_OPTIONS += --disable-shared
+$(PKG)_CONFIGURE_OPTIONS += --enable-static
+
+$(PKG_SOURCE_DOWNLOAD)
+$(PKG_UNPACKED)
+$(PKG_CONFIGURED_CONFIGURE)
+
+$($(PKG)_BINARY): $($(PKG)_DIR)/.configured
+ $(SUBMAKE) -C $(GNTPSEND_DIR)
+
+$($(PKG)_TARGET_BINARY): $($(PKG)_BINARY)
+ $(INSTALL_BINARY_STRIP)
+
+$(pkg):
+
+$(pkg)-precompiled: $($(PKG)_TARGET_BINARY)
+
+$(pkg)-clean:
+ -$(MAKE) -C $(GNTPSEND_DIR) clean
+
+$(pkg)-uninstall:
+ $(RM) $(GNTPSEND_TARGET_BINARY)
+
+$(PKG_FINISH)
@@ -0,0 +1,9 @@
+--- configure.in
++++ configure.in
+@@ -1,5 +1,5 @@
+ AC_PREREQ([2.65])
+-AC_INIT([gntp-send], [esyscmd([cat VERSION | tr -d '\n'])], [mattn.jp@gmail.com])
++AC_INIT([gntp-send], esyscmd([cat VERSION | tr -d '\n']), [mattn.jp@gmail.com])
+
+ AM_INIT_AUTOMAKE([foreign -Wall])
+

0 comments on commit dc66864

Please sign in to comment.