opt/unison/Pkgfile

21 lines
671 B
Plaintext
Raw Normal View History

2006-12-22 19:15:21 +01:00
# Description: Bi-directional file synchronization tool
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2006-02-23 16:26:10 +01:00
# Packager: Markus Ackermann, maol at symlink dot ch
# URL: http://www.cis.upenn.edu/~bcpierce/unison/
2006-12-22 19:15:21 +01:00
# Depends on: ocaml
2006-02-23 16:26:10 +01:00
name=unison
2014-12-31 13:14:18 +01:00
version=2.48.3
2016-05-21 13:41:10 +02:00
release=2
source=(http://www.cis.upenn.edu/~bcpierce/unison/download/releases/$name-$version/$name-$version.tar.gz
ocaml-4.03.patch)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
2016-05-21 13:41:10 +02:00
patch -p2 -i $SRC/ocaml-4.03.patch
2006-02-23 16:26:10 +01:00
unset CFLAGS CXXFLAGS
2014-12-31 13:14:18 +01:00
make -j1 UISTYLE=text THREADS=true NATIVE=true unison unison-fsmonitor
install -d $PKG/usr/bin
install -m 755 unison unison-fsmonitor $PKG/usr/bin/
2006-02-23 16:26:10 +01:00
}