diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-11 21:30:06 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-11 21:30:06 -0300 |
commit | d476f08cfb904692e24fbfbc8856688a1e4bc6f3 (patch) | |
tree | 7dee982cb851c340c3343730e07969c7d822484e /pcr/torque/PKGBUILD | |
parent | 00e7616c143613b1e32d35669f71bf26ad4ffbda (diff) | |
download | abslibre-d476f08cfb904692e24fbfbc8856688a1e4bc6f3.tar.gz abslibre-d476f08cfb904692e24fbfbc8856688a1e4bc6f3.tar.bz2 abslibre-d476f08cfb904692e24fbfbc8856688a1e4bc6f3.zip |
torque: adding pkg to pcr repo
Diffstat (limited to 'pcr/torque/PKGBUILD')
-rw-r--r-- | pcr/torque/PKGBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/pcr/torque/PKGBUILD b/pcr/torque/PKGBUILD new file mode 100644 index 000000000..7ed85c1d8 --- /dev/null +++ b/pcr/torque/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +pkgname=torque +pkgver=4.2.2 +_pkgver=1065 +pkgrel=1 +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 + mkdir -p $pkgdir/etc/systemd/system + cp $srcdir/*.service $pkgdir/etc/systemd/system +} + +# vim:set ts=2 sw=2 et: |