drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/bc
-rwxr-xr-x root/root usr/bin/dc
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/bc.1.gz
--rw-r--r-- root/root usr/man/man1/dc.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/bc.1.gz
+-rw-r--r-- root/root usr/share/man/man1/dc.1.gz
name=bc
version=1.06
-release=3
+release=4
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
$name-$version-compile_fixes.patch $name-$version-fixes-1.patch)
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --with-readline
+ --with-readline \
+ --mandir=/usr/share/man
make AR="$AR"
make DESTDIR=$PKG install