aboutsummaryrefslogtreecommitdiffstats
path: root/main/cvs/APKBUILD
blob: 98e41fb44aaf12134bf8aa7bcc44121dc11d12dc (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cvs
pkgver=1.12.13
pkgrel=3
pkgdesc="Concurrent Versions System"
url="http://www.nongnu.org/cvs/"
arch="all"
license="GPL2+"
depends=""
makedepends="zlib-dev"
install=
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/non-gnu/cvs/source/feature/$pkgver/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-external-zlib \
		--with-tmpdir=/tmp \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make -j1 DESTDIR="$pkgdir" install
}

md5sums="7a71a2e7a64973ecf255965956a1d338  cvs-1.12.13.tar.gz"
sha256sums="4734971a59471744e4ad8665c1dca54cb3ebf9fc66ce9c2dff3d04670d3f7312  cvs-1.12.13.tar.gz"
sha512sums="acd658b7ffa29a67e33f294073a0f80a27aa4e19dc2185cfa43f862d34e511bcf9802012b8e6957f82c7532fdabbb058b33686e0e6046cdd1f1aa9af619e92e9  cvs-1.12.13.tar.gz"