summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9704a56cc3a4f35b6dfd7f59a56efdbe670c7c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Sandro-Alessio Gierens <sandro@gierens.de>
pkgname=libctl2
pkgver=1.2
pkgrel=1
makedepends=('base-devel')
arch=('i686' 'x86_64')
pkgdesc="CTL is a Software Transactional Memory Framework based in TL2 including new features and optimizations."
url="https://docentes.fct.unl.pt/joao-lourenco/software/ctl-consistent-software-transactonal-layer"
license=('BSD-3-Clause')

build() {
    if [ ! -d ctl-1.2 ]; then
        rm -f ctl-1.2.tgz
        rm -rf ctl-1.2
        wget https://docentes.fct.unl.pt/joao-lourenco/files/ctl-1.2.tgz
        tar -xzf ctl-1.2.tgz
    fi
    cd ctl-1.2
    ./configure --prefix="$pkgdir/usr/local"
    make
}

package() {
    cd ctl-1.2
    make install
}