Skip to content

Commit

Permalink
* add new package gntp-send - a command line tool for sending notifi…
Browse files Browse the repository at this point in the history
…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
er13 committed Mar 23, 2013
1 parent eada10a commit dc66864
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -94,6 +94,7 @@ Latest changes:
* dvbtune 0.5 * dvbtune 0.5
* fowsr 1.0 * fowsr 1.0
* Ghostscript fonts 8.11 * Ghostscript fonts 8.11
* gntp-send 0.3.2-git
* html2text 1.3.2a * html2text 1.3.2a
* ImageMagick 6.8.3-9 * ImageMagick 6.8.3-9
* inadyn-opendns 1.99 * inadyn-opendns 1.99
Expand Down
1 change: 1 addition & 0 deletions make/Config.in
Expand Up @@ -122,6 +122,7 @@ source make/fowsr/Config.in
source make/fstyp/Config.in source make/fstyp/Config.in
source make/ghostscript-fonts/Config.in source make/ghostscript-fonts/Config.in
source make/git/Config.in source make/git/Config.in
source make/gntpsend/Config.in
source make/gnu-make/Config.in source make/gnu-make/Config.in
source make/gnutls/Config.in source make/gnutls/Config.in
source make/gocr/Config.in source make/gocr/Config.in
Expand Down
1 change: 1 addition & 0 deletions make/external.in
Expand Up @@ -22,6 +22,7 @@ source make/ffmpeg/external.in
source make/gdb/external.in source make/gdb/external.in
source make/ghostscript-fonts/external.in source make/ghostscript-fonts/external.in
source make/git/external.in source make/git/external.in
source make/gntpsend/external.in
source make/gnu-make/external.in source make/gnu-make/external.in
source make/gnutls/external.in source make/gnutls/external.in
source make/gocr/external.in source make/gocr/external.in
Expand Down
10 changes: 10 additions & 0 deletions make/gntpsend/Config.in
@@ -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.
1 change: 1 addition & 0 deletions make/gntpsend/external.files
@@ -0,0 +1 @@
[ "$EXTERNAL_FREETZ_PACKAGE_GNTPSEND" == "y" ] && EXTERNAL_FILES+=" /usr/bin/gntp-send"
7 changes: 7 additions & 0 deletions make/gntpsend/external.in
@@ -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
35 changes: 35 additions & 0 deletions make/gntpsend/gntpsend.mk
@@ -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)
9 changes: 9 additions & 0 deletions make/gntpsend/patches/010-avoid_not_a_literal_warning.patch
@@ -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.