summaryrefslogtreecommitdiff
path: root/pcr/torque/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/torque/PKGBUILD')
-rw-r--r--pcr/torque/PKGBUILD61
1 files changed, 0 insertions, 61 deletions
diff --git a/pcr/torque/PKGBUILD b/pcr/torque/PKGBUILD
deleted file mode 100644
index 2d35202e0..000000000
--- a/pcr/torque/PKGBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-# Maintainer: Márcio Silva <coadde@parabola.nu>
-
-pkgname=torque
-pkgver=4.2.2
-_pkgver=1065
-pkgrel=2
-pkgdesc='An open source resource manager providing control over batch jobs and distributed compute nodes.'
-url=http://www.adaptivecomputing.com/products/open-source/$pkgname/
-arch=(
- i686
- x86_64
- mips64el
-)
-license=custom
-depends=(
- libxml2
- openssh
-)
-install=$pkgname.install
-options=(!libtool)
-backup=(
- var/spool/$pkgname/mom_priv/config
- var/spool/$pkgname/serv_priv/nodes
- var/spool/$pkgname/serv_priv/serverdb
- var/spool/$pkgname/server_name
-)
-source=(
- $pkgname-$pkgver.tar.gz::http://www.adaptivecomputing.com/index.php?wpfb_dl=$_pkgver
- $pkgname-{node,scheduler,server}.service
-)
-sha512sums=(
- d53af8dc05e2d1ffa699da2a79e2c82247a882d868784c38d685fc77c3bb8a334e036e835bac2988d39675c5df7a04c2b567b826df4bf6975b437a9955164ae2
- 532c007cf3fcf171d071b67438fca430cdda4ec19d5e6c51ff5388b73610817825dd4cc86866c3d8a9411b6fdee6f76c64cd764dbd2277c1e7ca48e843ff9221
- 290620b00b2bd636b47c3c60158a4e6cff06e9a764ac7fc7d4996f9be1aace58ee248a075b4c3cf84951af9013a655b29ea6adec789fe6e170df62b07b05cc85
- 2977fbd4d7b7241a2aadef4bc5575483a882a62dd65b74cfb26958530ce99030ee0c3e6c8a093d1e2ccc2bfe4ebed4f90bc7b52aaece7fd43ea2f9af08781fed
-)
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- setarch $CARCH ./configure --prefix=/usr\
- --disable-gui\
- --disable-gcc-warnings\
- --mandir=/usr/share/man\
- --with-default-server=localhost\
- --with-rcp=scp\
- --with-server-home=/var/spool/$pkgname\
- --with-tcl=no
- mv src/resmom/Makefile src/resmom/Makefile.old
- cat src/resmom/Makefile.old | sed 's/$(MOMLIBS) $(PBS_LIBS)/$(PBS_LIBS) $(MOMLIBS)/g' > src/resmom/Makefile
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- install -d $pkgdir/usr/lib/systemd/system
- install -Dm644 $srcdir/*.service $pkgdir/usr/lib/systemd/system
-}
-
-# vim:set ts=2 sw=2 et: