* Descriptor templates for the Pan newsreader and all its

dependencies.

svn path=/nix/trunk/test/; revision=9
This commit is contained in:
Eelco Dolstra 2003-03-20 22:25:01 +00:00
parent 2766a4b44e
commit 7c89415774
17 changed files with 157 additions and 0 deletions

10
dist/aterm-build.sh vendored Executable file
View File

@ -0,0 +1,10 @@
#! /bin/sh
export PATH=/bin:/usr/bin
top=`pwd`
tar xvfz $src
cd aterm-*
./configure --prefix=$top
make
make install

12
dist/atk-build.sh vendored Executable file
View File

@ -0,0 +1,12 @@
#! /bin/sh
export PATH=$pkgconfig/bin:/bin:/usr/bin
export PKG_CONFIG_PATH=$glib/lib/pkgconfig
export LD_LIBRARY_PATH=$glib/lib
top=`pwd`
tar xvfj $src
cd atk-*
./configure --prefix=$top
make
make install

10
dist/glib-build.sh vendored Executable file
View File

@ -0,0 +1,10 @@
#! /bin/sh
export PATH=$pkgconfig/bin:/bin:/usr/bin
top=`pwd`
tar xvfj $src
cd glib-*
./configure --prefix=$top
make
make install

12
dist/gnet-build.sh vendored Executable file
View File

@ -0,0 +1,12 @@
#! /bin/sh
export PATH=$pkgconfig/bin:/bin:/usr/bin
export PKG_CONFIG_PATH=$glib/lib/pkgconfig
export LD_LIBRARY_PATH=$glib/lib
top=`pwd`
tar xvfz $src
cd gnet-*
./configure --prefix=$top
make
make install

12
dist/gtk+-build.sh vendored Executable file
View File

@ -0,0 +1,12 @@
#! /bin/sh
export PATH=$pkgconfig/bin:/bin:/usr/bin
export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconfig
export LD_LIBRARY_PATH=$glib/lib
top=`pwd`
tar xvfj $src
cd gtk+-*
./configure --prefix=$top
make
make install

12
dist/pan-build.sh vendored Executable file
View File

@ -0,0 +1,12 @@
#! /bin/sh
export PATH=$pkgconfig/bin:$gnet/bin:/bin:/usr/bin
export PKG_CONFIG_PATH=$glib/lib/pkgconfig:$atk/lib/pkgconfig:$pango/lib/pkgconfig:$gtk/lib/pkgconfig
export LD_LIBRARY_PATH=$gnet/lib
top=`pwd`
tar xvfj $src
cd pan-*
./configure --prefix=$top
make
make install

12
dist/pango-build.sh vendored Executable file
View File

@ -0,0 +1,12 @@
#! /bin/sh
export PATH=$pkgconfig/bin:/bin:/usr/bin
export PKG_CONFIG_PATH=$glib/lib/pkgconfig
export LD_LIBRARY_PATH=$glib/lib
top=`pwd`
tar xvfj $src
cd pango-*
./configure --prefix=$top
make
make install

10
dist/pkgconfig-build.sh vendored Executable file
View File

@ -0,0 +1,10 @@
#! /bin/sh
export PATH=/bin:/usr/bin
top=`pwd`
tar xvfz $src
cd pkgconfig-*
./configure --prefix=$top
make
make install

18
register Executable file
View File

@ -0,0 +1,18 @@
#! /bin/sh
nix init
root=/home/eelco/Dev/nix/test
cd $root/tmpl
if ! nix-instantiate $root/descr $root/tmpl/*.nix; then
exit 1;
fi
for i in $root/dist/*; do nix regfile $i; done
for i in $root/descr/*; do
md5sum $i
nix regfile $i
done

5
tmpl/aterm-2.0.nix Normal file
View File

@ -0,0 +1,5 @@
# Original sources.
src = ../dist/aterm-2.0.tar.gz
# Build script.
build = ../dist/aterm-build.sh

6
tmpl/atk-1.2.0.nix Normal file
View File

@ -0,0 +1,6 @@
pkgconfig <- ./pkgconfig-0.15.0.nix
glib <- ./glib-2.2.1.nix
src = ../dist/atk-1.2.0.tar.bz2
build = ../dist/atk-build.sh

5
tmpl/glib-2.2.1.nix Normal file
View File

@ -0,0 +1,5 @@
pkgconfig <- ./pkgconfig-0.15.0.nix
src = ../dist/glib-2.2.1.tar.bz2
build = ../dist/glib-build.sh

6
tmpl/gnet-1.1.8.nix Normal file
View File

@ -0,0 +1,6 @@
pkgconfig <- ./pkgconfig-0.15.0.nix
glib <- ./glib-2.2.1.nix
src = ../dist/gnet-1.1.8.tar.gz
build = ../dist/gnet-build.sh

8
tmpl/gtk+-2.2.1.nix Normal file
View File

@ -0,0 +1,8 @@
pkgconfig <- ./pkgconfig-0.15.0.nix
glib <- ./glib-2.2.1.nix
atk <- ./atk-1.2.0.nix
pango <- ./pango-1.2.1.nix
src = ../dist/gtk+-2.2.1.tar.bz2
build = ../dist/gtk+-build.sh

10
tmpl/pan-0.13.4.nix Normal file
View File

@ -0,0 +1,10 @@
pkgconfig <- ./pkgconfig-0.15.0.nix
glib <- ./glib-2.2.1.nix
atk <- ./atk-1.2.0.nix
pango <- ./pango-1.2.1.nix
gtk <- ./gtk+-2.2.1.nix
gnet <- ./gnet-1.1.8.nix
src = ../dist/pan-0.13.4.tar.bz2
build = ../dist/pan-build.sh

6
tmpl/pango-1.2.1.nix Normal file
View File

@ -0,0 +1,6 @@
pkgconfig <- ./pkgconfig-0.15.0.nix
glib <- ./glib-2.2.1.nix
src = ../dist/pango-1.2.1.tar.bz2
build = ../dist/pango-build.sh

View File

@ -0,0 +1,3 @@
src = ../dist/pkgconfig-0.15.0.tar.gz
build = ../dist/pkgconfig-build.sh