You are not logged in.
Any idea about whats wrong with this?
below the error...
# Maintainer: Luciano A. Ferrer <#archlinux-es>
# Contributor:
pkgname=ocaml-duppy
pkgver=0.1.2
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL')
pkgdesc="ocaml-duppy is an advanced scheduler for Ocaml programmers"
url="http://savonet.sourceforge.net/"
depends=('ocaml' 'ocaml-findlib')
makedepends=()
source=("http://downloads.sourceforge.net/savonet/$pkgname-$pkgver.tar.gz")
md5sums=('97e5154a8054fde1751c315a5aabaadb')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make || return 1
make DESTDIR="$pkgdir/" install
}
error: http://pastebin.ca/1260839
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
The problem is that their OCamlMakefile doesn't have a DESTDIR variable. They use their own custom `ocamlfind` package manager, so you have to use the OCAMLFIND_INSTFLAGS variable to set the destdir if you want to use make install.
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make all || return 1
install -dm755 "$pkgdir/usr/lib/ocaml/site-lib"
make OCAMLFIND_INSTFLAGS="-destdir $pkgdir/usr/lib/ocaml/site-lib" \
install || return 1
}
By the way, pcre-ocaml needs to be added as a dependency, and you should use "Contributor" since "Maintainer" is just for official Arch packagers.
Last edited by creslin (2008-11-19 05:40:36)
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline