Skip to content
Snippets Groups Projects
Commit 80aec0ad authored by Anil Madhavapeddy's avatar Anil Madhavapeddy Committed by Natanael Copa
Browse files

testing/opam: move from unmaintained and take maintainer

parent ec0b7d78
No related branches found
No related tags found
No related merge requests found
# Contributor: Michael Zuo <muh.muhten@gmail.com>
# Maintainer: Michael Zuo <muh.muhten@gmail.com>
# Maintainer: Anil Madhavapeddy <anil@recoil.org>
pkgname=opam
pkgver=1.2.2
pkgrel=0
pkgdesc="OCaml Package Manager"
url="http://opam.ocaml.org"
url="https://opam.ocaml.org"
arch="all"
license="LGPL3"
depends=""
depends_dev="ocaml"
depends="ocaml camlp4 curl tar unzip rsync aspcud"
makedepends="$depends_dev"
install=""
subpackages=""
source="https://github.com/ocaml/$pkgname/releases/download/$pkgver/$pkgname-full-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-full-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
builddir="$srcdir"/$pkgname-full-$pkgver
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -40,7 +29,7 @@ build() {
}
package() {
cd "$_builddir"
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment