summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/func/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-09 02:33:06 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-09 02:33:06 (GMT)
commit1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e (patch)
treef336ee91ce16c6591fff50340562e07e15aa1a55 /abs/mv-core/func/PKGBUILD
parent75b1bceb21faab32d8f519d6f7f7062a226f9047 (diff)
downloadlinhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.zip
linhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.tar.gz
linhes_pkgbuild-1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e.tar.bz2
MythVantage specific pkgs
Diffstat (limited to 'abs/mv-core/func/PKGBUILD')
-rw-r--r--abs/mv-core/func/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/mv-core/func/PKGBUILD b/abs/mv-core/func/PKGBUILD
new file mode 100644
index 0000000..a72ebd0
--- /dev/null
+++ b/abs/mv-core/func/PKGBUILD
@@ -0,0 +1,32 @@
+pkgname=func
+pkgver=0.13
+pkgrel=15
+pkgdesc="fedora unifed network controller"
+url=""
+license="gpl"
+depends=(pyopenssl)
+makedepends=()
+conflicts=()
+replaces=()
+backup=()
+moddir="pkg/usr/lib/python2.5/site-packages/func/minion/modules/"
+install=func.install
+#source=(https://hosted.fedoraproject.org/projects/func/attachment/wiki/FuncReleases/$pkgname-$pkgver.tar.gz)
+source=($pkgname-$pkgver.tar.gz certmaster.conf minion.conf power.py pacman.py failed_func.sh)
+md5sums=()
+arch=('i686')
+
+build() {
+ cd $startdir/src/$pkgname-${pkgver}
+ cd $startdir/src/func
+ python setup.py build
+ python setup.py install --prefix=$startdir/pkg/usr
+ cd $startdir/src
+ install -m755 -D minion.conf $startdir/pkg/etc/func/minion.conf
+ install -m755 -D certmaster.conf $startdir/pkg/etc/func/certmaster.conf
+ install -m755 -D $startdir/src/$pkgname-${pkgver}/etc/sample.acl $startdir/pkg/etc/func/minion-acl.d/sample.acl
+ install -m755 -D $startdir/src/power.py ${startdir}/${moddir}/power.py
+ install -m755 -D $startdir/src/pacman.py ${startdir}/${moddir}/pacman.py
+ install -m755 -D $startdir/src/failed_func.sh $startdir/pkg/usr/bin/failed_func.sh
+ mkdir -p $startdir/pkg/var/log/func
+}