drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/conqai
--rwxr-sr-x root/root usr/bin/conqdriv
+-rwxr-sr-x root/users usr/bin/conqdriv
-rwxr-xr-x root/root usr/bin/conqinit
-rwxr-xr-x root/root usr/bin/conqmetad
--rwxr-sr-x root/root usr/bin/conqoper
+-rwxr-sr-x root/users usr/bin/conqoper
-rwxr-xr-x root/root usr/bin/conqstrat
-rwxr-xr-x root/root usr/bin/conquest
--rwxr-sr-x root/root usr/bin/conquestd
+-rwxr-sr-x root/users usr/bin/conquestd
drwxr-xr-x root/root usr/etc/
-rw-r--r-- root/root usr/etc/00_plantex.trc
--rw-rw-r-- root/root usr/etc/conqinitrc
--rw-rw-r-- root/root usr/etc/soundrc
--rw-rw-r-- root/root usr/etc/texturesrc
+-rw-rw-r-- root/users usr/etc/conqinitrc
+-rw-rw-r-- root/users usr/etc/soundrc
+-rw-rw-r-- root/users usr/etc/texturesrc
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libUi.a
-rwxr-xr-x root/root usr/lib/libUi.la
-rw-r--r-- root/root usr/share/conquest/sound/explosion.ogg
-rw-r--r-- root/root usr/share/conquest/sound/torpalert.ogg
drwxr-xr-x root/root usr/var/
-drwxrwxr-x root/root usr/var/conquest/
+drwxrwxr-x root/users usr/var/conquest/
name=conquest
version=8.5
-release=1
+release=2
source=(http://dl.sourceforge.net/conq/$name-$version.src.tar.gz)
build() {
--with-sdl-prefix=$CLFS/usr \
--disable-gl \
--mandir=/usr/man \
+ --with-conquest-group=users \
--cache-file=config.cache
- find . -type f -name Makefile -exec \
- sed -i {} \
- -e "s|SDL_CFLAGS = .*|SDL_CFLAGS = $SDL_CFLAGS|" \
+ find . -type f -name Makefile \
+ -exec sed -e "s|SDL_CFLAGS = .*|SDL_CFLAGS = $SDL_CFLAGS|" \
-e "s|SDL_CFLAGS = .*|SDL_CFLAGS = $SDL_CFLAGS|" \
-e "s|-I/usr|-I$CLFS/usr|" \
- -e "s|-L/usr|-L$CLFS/usr|" \;
+ -e "s|-L/usr|-L$CLFS/usr|" -i {} \;
make
- make DESTDIR=$PKG CONQDATADIR="/usr/share/$name" CONQGROUP=root libexecdir="/usr/bin/" install
+ make DESTDIR=$PKG CONQDATADIR="/usr/share/$name" libexecdir="/usr/bin/" install
rm -r $PKG/usr/share/$name/doc/
}