summaryrefslogtreecommitdiff
path: root/main/cvs/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/cvs/APKBUILD')
-rw-r--r--main/cvs/APKBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/main/cvs/APKBUILD b/main/cvs/APKBUILD
index 21c4d58134f..5ab57dab171 100644
--- a/main/cvs/APKBUILD
+++ b/main/cvs/APKBUILD
@@ -1,27 +1,33 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
-# Maintainer:
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cvs
-pkgver=1.11.23
-pkgrel=1
+pkgver=1.12.13
+pkgrel=0
pkgdesc="Concurrent Versions System"
url="http://www.nongnu.org/cvs/"
license="GPL"
depends=""
-makedepends=""
+makedepends="zlib-dev"
install=
subpackages="$pkgname-doc"
-source="http://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.23/$pkgname-$pkgver.tar.gz"
+source="http://ftp.gnu.org/non-gnu/cvs/source/feature/$pkgver/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
+ cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ --with-external-zlib \
+ --with-tmpdir=/tmp \
+ || return 1
make || return 1
- make DESTDIR="$pkgdir" install
+}
+package() {
+ cd "$_builddir"
+ make -j1 DESTDIR="$pkgdir" install
}
-md5sums="bf185eb51b5918330a04671c3f3cccde cvs-1.11.23.tar.gz"
+md5sums="7a71a2e7a64973ecf255965956a1d338 cvs-1.12.13.tar.gz"