mirror of
https://github.com/chocolate-doom/debian.git
synced 2024-11-22 04:31:10 +00:00
Fix comparison error in add_pkg (thanks RjY); add convenience packages
to build and comments. Subversion-branch: /debian Subversion-revision: 1477
This commit is contained in:
parent
9fca759d3f
commit
fae99e1f09
1 changed files with 14 additions and 2 deletions
16
build-chroot
16
build-chroot
|
@ -16,7 +16,7 @@ fi
|
|||
dest_dir="$1"
|
||||
|
||||
add_pkg() {
|
||||
if [ ".$pkgs" = "" ]; then
|
||||
if [ ".$pkgs" = "." ]; then
|
||||
pkgs="$1"
|
||||
else
|
||||
pkgs="$pkgs,$1"
|
||||
|
@ -25,18 +25,30 @@ add_pkg() {
|
|||
|
||||
pkgs=""
|
||||
|
||||
# Basic packages for C build:
|
||||
add_pkg gcc
|
||||
add_pkg make
|
||||
|
||||
# Chocolate Doom dependencies:
|
||||
add_pkg automake1.8
|
||||
add_pkg autoconf
|
||||
add_pkg libtool
|
||||
add_pkg libsdl1.2-dev
|
||||
add_pkg libsdl-mixer1.2-dev
|
||||
add_pkg libsdl-net1.2-dev
|
||||
add_pkg python-imaging
|
||||
|
||||
# Needed for svn checkout
|
||||
add_pkg subversion
|
||||
|
||||
# Packages for debian package build:
|
||||
add_pkg debhelper
|
||||
add_pkg dpkg-dev
|
||||
add_pkg cdbs
|
||||
|
||||
debootstrap "--include=$pkgs" "$RELEASE" "$dest_dir" "$MIRROR"
|
||||
# Basic convenience packages:
|
||||
add_pkg vim-full
|
||||
add_pkg less
|
||||
|
||||
echo debootstrap "--include=$pkgs" "$RELEASE" "$dest_dir" "$MIRROR"
|
||||
|
||||
|
|
Loading…
Reference in a new issue