Commit | Line | Data |
---|---|---|
2f2aa78b VM |
1 | # Description: An implementation of the standard Unix documentation system accessed using the man command |
2 | # URL: http://man-db.nongnu.org/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | # Depends on: libpipeline | |
6 | ||
7 | name=man-db | |
8 | version=2.6.7 | |
9 | release=1 | |
10 | source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz \ | |
11 | mandb.cron) | |
12 | ||
13 | build() { | |
14 | cd $name-$version | |
15 | ||
16 | export libpipeline_CFLAGS="$CFLAGSi -I$CLFS/usr/include" | |
17 | export libpipeline_LIBS="$LIBS -L$CLFS/urs/lib -lpipeline" | |
18 | ||
19 | ./configure --build=$CHOST \ | |
20 | --host=$CTARGET \ | |
21 | --prefix=/usr \ | |
22 | --mandir=/usr/man \ | |
23 | --libexecdir=/usr/lib/$name \ | |
24 | --disable-setuid \ | |
25 | --disable-nls | |
26 | ||
27 | make | |
28 | make DESTDIR=$PKG install | |
29 | rm -r $PKG/usr/share | |
30 | ||
31 | # zsoelim conflicts with groff | |
32 | rm $PKG/usr/bin/zsoelim \ | |
33 | $PKG/usr/man/man1/zsoelim.1 | |
34 | ||
35 | mkdir -p $PKG/var/cache/man | |
36 | ||
37 | install -D -o root -g root -m 0755 $SRC/mandb.cron \ | |
38 | $PKG/etc/cron/daily/mandb | |
39 | } |