diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-05 04:19:45 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-05 04:19:45 (GMT) |
commit | ad478aac7d0b4a7e45274de8d6eec9a2286ebacf (patch) | |
tree | 7aa43783803bd7bbf67677707fbe8d8757e62edf | |
parent | b881b4ebd6ae62fe8e00ea41b72aa11657ae38db (diff) | |
download | linhes_pkgbuild-ad478aac7d0b4a7e45274de8d6eec9a2286ebacf.zip linhes_pkgbuild-ad478aac7d0b4a7e45274de8d6eec9a2286ebacf.tar.gz linhes_pkgbuild-ad478aac7d0b4a7e45274de8d6eec9a2286ebacf.tar.bz2 |
packaged tweaker, but the src needs work as it expects debian and debian don't live here no more.
-rw-r--r-- | abs/core-testing/tweaker/PKGBUILD | 34 | ||||
-rw-r--r-- | abs/core-testing/tweaker/log4perl.conf | 13 | ||||
-rw-r--r-- | abs/core-testing/tweaker/tweaker.sh | 4 | ||||
-rw-r--r-- | abs/core-testing/tweaker/tweaker.tar.bz2 | bin | 0 -> 37143 bytes |
4 files changed, 51 insertions, 0 deletions
diff --git a/abs/core-testing/tweaker/PKGBUILD b/abs/core-testing/tweaker/PKGBUILD new file mode 100644 index 0000000..a11643b --- /dev/null +++ b/abs/core-testing/tweaker/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=tweaker +pkgver=1 +pkgrel=9 +pkgdesc="" +arch=('i686' 'x86_64') + +depends=('bash' 'perl' 'perl-dbi' 'perl-exception-class' 'perl-log-log4perl' 'perl-log-dispatch' 'perl-getopt-lucid' 'perl-list-member' 'perl-class-data-inheritable' 'perl-devel-stacktrace' 'perl-xml-twig') + +source=(${pkgname}.tar.bz2 tweaker.sh log4perl.conf) + +license=('GPL2') +#groups=('pvr') + + +#install=tweaker.install +build() { + TWEAKER_ROOT=$startdir/pkg/usr/LH/tweaker + cd $startdir/src/ || return 1 + mkdir -p $TWEAKER_ROOT/bin + mkdir -p $startdir/pkg/etc/profile.d + install -m0755 tweaker.sh $startdir/pkg/etc/profile.d/tweaker.sh + install -m0755 log4perl.conf $TWEAKER_ROOT/log4perl.conf + + #copy binary files + cd usr/local/bin + install -m0755 * $TWEAKER_ROOT/bin/ + rm -f $TWEAKER_ROOT/bin/tweaker-installer.sh + +#copied lib from km 5.5 because it was missing from the tar file + mkdir -p $TWEAKER_ROOT + cd $startdir/src/usr/LH/tweaker + cp -rp * $TWEAKER_ROOT + +} diff --git a/abs/core-testing/tweaker/log4perl.conf b/abs/core-testing/tweaker/log4perl.conf new file mode 100644 index 0000000..3c0a5bb --- /dev/null +++ b/abs/core-testing/tweaker/log4perl.conf @@ -0,0 +1,13 @@ +log4perl.logger = FATAL, ScreenLogger +log4perl.logger.tweaker = INFO, FileLogger +log4perl.logger.tweaker.script = WARN, FileLogger + +log4perl.appender.ScreenLogger = Log::Dispatch::Screen +log4perl.appender.ScreenLogger.Threshold = FATAL +log4perl.appender.ScreenLogger.layout = Log::Log4perl::Layout::PatternLayout +log4perl.appender.ScreenLogger.layout.ConversionPattern=<%p> %F{1} - %m%n + +log4perl.appender.FileLogger = Log::Log4perl::Appender::File +log4perl.appender.FileLogger.filename = /var/log/tweaker.log +log4perl.appender.FileLogger.layout = Log::Log4perl::Layout::PatternLayout +log4perl.appender.FileLogger.layout.ConversionPattern=%d <%p> %F{1}:%L %M - %m%n diff --git a/abs/core-testing/tweaker/tweaker.sh b/abs/core-testing/tweaker/tweaker.sh new file mode 100644 index 0000000..8cb36eb --- /dev/null +++ b/abs/core-testing/tweaker/tweaker.sh @@ -0,0 +1,4 @@ +#!/bin/bash + export TWEAKER_ROOT=/usr/LH/tweaker + export PATH=$PATH:$TWEAKER_ROOT/bin + export PERL5LIB=$TWEAKER_ROOT/lib:$PERL5LIB
\ No newline at end of file diff --git a/abs/core-testing/tweaker/tweaker.tar.bz2 b/abs/core-testing/tweaker/tweaker.tar.bz2 Binary files differnew file mode 100644 index 0000000..6fd6a92 --- /dev/null +++ b/abs/core-testing/tweaker/tweaker.tar.bz2 |