Merge branch 'newbreach' of github.com:urbit/urbit into newbreach

This commit is contained in:
C. Guy Yarvin 2014-05-25 21:33:46 -07:00
commit 1072e7df68
2 changed files with 40 additions and 4 deletions

View File

@ -325,13 +325,13 @@ osxpackage:
pkgbuild --root inst --identifier org.urbit.vere --version 0.2 vere.pkg
debbuild:
$(MAKE) $(BIN)/vere LIB=/usr/lib/urb
$(MAKE) $(BIN)/vere LIB=/usr/share/urb
debinstall:
mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/lib/urb
mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/share/urb
install -m755 $(BIN)/vere $(DESTDIR)/usr/bin
cp urb/urbit.pill $(DESTDIR)/usr/lib/urb
cp -R urb/zod $(DESTDIR)/usr/lib/urb
cp urb/urbit.pill $(DESTDIR)/usr/share/urb
cp -R urb/zod $(DESTDIR)/usr/share/urb
clean:
$(RM) $(VERE_OFILES) $(BIN)/vere vere.pkg

36
urbit.spec Normal file
View File

@ -0,0 +1,36 @@
Name: urbit
Version: 0.2
Release: 1%{?dist}
Summary: The Urbit environment
License: Public domain
URL: http://urbit.org/
Source0: urbit.tar.gz
BuildRequires: openssl-devel, ncurses-devel, gmp-devel, libsigsegv-devel
Requires: openssl, ncurses, gmp, libsigsegv
%description
Urbit is a new operating environment designed from scratch.
%prep
%setup -q
%build
make debbuild LIB=%{_datadir}
%install
rm -rf $RPM_BUILD_ROOT
make debinstall DESTDIR=$RPM_BUILD_ROOT
%files
%{_bindir}/vere
%{_datadir}/urb/*
%doc
%changelog
* Sun May 25 2014 urbit
- Package for Red Hat