2011-04-13 21:19:47 +10:00
|
|
|
# Description: Pipe commands to a pastebin site.
|
2007-12-03 13:09:08 +11:00
|
|
|
# URL: http://wgetpaste.zlin.dk/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Packager: Danny Rawlins, monster dot romster at gmail dot com
|
2007-12-03 13:09:08 +11:00
|
|
|
|
|
|
|
name=wgetpaste
|
2010-09-25 14:36:06 +10:00
|
|
|
version=2.18
|
2011-04-13 21:19:47 +10:00
|
|
|
release=2
|
|
|
|
source=(http://wgetpaste.zlin.dk/$name-$version.tar.bz2
|
|
|
|
http://wgetpaste.zlin.dk/zlin.conf)
|
2007-12-03 13:09:08 +11:00
|
|
|
|
|
|
|
build() {
|
2009-06-20 13:38:55 +10:00
|
|
|
# adjust including files as per http://wgetpaste.zlin.dk/inst.bash
|
|
|
|
cd $name-$version
|
2011-04-13 21:19:47 +10:00
|
|
|
install -d $PKG/usr/bin $PKG/usr/etc/wgetpaste.d
|
|
|
|
|
|
|
|
cat wgetpaste _wgetpaste \
|
|
|
|
| sed 's|for f in {/etc/|for f in {/usr/etc/|' \
|
|
|
|
| sed 's|/etc/wgetpaste.d|/usr/etc/wgetpaste.d|' \
|
|
|
|
> $PKG/usr/bin/wgetpaste
|
|
|
|
|
|
|
|
install -m 0644 $SRC/zlin.conf $PKG/usr/etc/wgetpaste.d
|
2009-06-20 13:38:55 +10:00
|
|
|
chmod +x $PKG/usr/bin/wgetpaste
|
2007-12-03 13:09:08 +11:00
|
|
|
}
|