summaryrefslogtreecommitdiffstats
path: root/abs/core/tweaker/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/tweaker/PKGBUILD
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/core/tweaker/PKGBUILD')
-rw-r--r--abs/core/tweaker/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/abs/core/tweaker/PKGBUILD b/abs/core/tweaker/PKGBUILD
new file mode 100644
index 0000000..79fc20d
--- /dev/null
+++ b/abs/core/tweaker/PKGBUILD
@@ -0,0 +1,43 @@
+pkgname=tweaker
+pkgver=1
+pkgrel=55
+pkgdesc="applies tweaks to the baseline configuration and attempts to optimize settings for the hardware it finds"
+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=(tweaker.sh log4perl.conf)
+
+license=('GPL2')
+#groups=('pvr')
+
+
+install=tweaker.install
+build() {
+ TWEAKER_ROOT=usr/LH/tweaker
+ mkdir -p $startdir/pkg/$TWEAKER_ROOT
+ mkdir -p $startdir/pkg/$TWEAKER_ROOT/{bin,fs,tcf}
+ mkdir -p $startdir/pkg/etc/profile.d
+ mkdir -p $startdir/pkg/usr/lib/perl5/vendor_perl/Tweaker/
+
+ cd $startdir
+ # executables
+ install -m0777 -D bin/* $startdir/pkg/$TWEAKER_ROOT/bin
+
+ # parallel root directory structure used for seeding configuration files
+ # Ensure shell variables are configured at start; ensure $TWEAKER_ROOT/bin is in $PATH
+ cp -rp fs $startdir/pkg/$TWEAKER_ROOT/
+ chmod -R 0777 $startdir/pkg/$TWEAKER_ROOT/
+
+ # Tweaker configuration files
+ install -m0555 -D tcf/* $startdir/pkg/$TWEAKER_ROOT/tcf
+
+ # Tweaker-centric log4perl configuration
+ #install -m0755 log4perl.conf $startdir/pkg/etc/log4perl.conf
+ install -m0755 log4perl.conf $startdir/pkg/$TWEAKER_ROOT
+
+ install -m0755 tweaker.sh $startdir/pkg/etc/profile.d/tweaker.sh
+
+ # Copy our tweaker Perl modules for general use
+ install -m0555 lib/Tweaker/* $startdir/pkg/usr/lib/perl5/vendor_perl/Tweaker/
+}