about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2003-03-14 16:43:14 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2003-03-14 16:43:14 +0000
commit2766a4b44ee6eafae03a042801270c7f6b8ed32a (patch)
treea1ba3245bbb86079ed5ea3dc57e9e6592dfd831b
* Improved Nix. Resources (package descriptors and other source
  files) are now referenced using their cryptographic hashes.  

  This ensures that if two package descriptors have the same contents,
  then they describe the same package.  This property is not as
  trivial as it sounds: generally import relations cause this property
  not to hold w.r.t. temporality.  But since imports also use hashes
  to reference other packages, equality follows by induction.

svn path=/nix/trunk/pkg/; revision=5
-rwxr-xr-xpkg/aterm-2.0-build.sh13
-rw-r--r--pkg/aterm-2.0.nix11
2 files changed, 24 insertions, 0 deletions
diff --git a/pkg/aterm-2.0-build.sh b/pkg/aterm-2.0-build.sh
new file mode 100755
index 0000000000000..5d65b7878c1c2
--- /dev/null
+++ b/pkg/aterm-2.0-build.sh
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+export PATH=$utils/bin
+export LIBRARY_PATH=$glibc/lib
+export CC=$gcc/bin/gcc
+export CFLAGS="-isystem $glibc/include -isystem $kernel/include"
+
+top=`pwd`
+tar xvfz $src
+cd aterm-2.0
+./configure --prefix=$top
+make
+make install
diff --git a/pkg/aterm-2.0.nix b/pkg/aterm-2.0.nix
new file mode 100644
index 0000000000000..2484001bef60e
--- /dev/null
+++ b/pkg/aterm-2.0.nix
@@ -0,0 +1,11 @@
+# Dependencies.
+utils <- 5703121fe19cbeeaee7edd659cf4a25b # prog-bootstrap
+gcc <- 02212b3dc4e50349376975367d433929 # gcc-bootstrap
+glibc <- c0ce03ee0bab298babbe7e3b6159d36c # glibc-bootstrap
+kernel <- 3dc8333a2c2b4d627b892755417acf89 # kernel-bootstrap
+
+# Original sources.
+src = 853474e4bcf4a85f7d38a0676b36bded # aterm-2.0.tar.gz
+
+# Build script.
+build = ee7ae4ade69f846d2385871bf532ef7e # aterm-2.0-build.sh