CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkg-config: updated to 0.29.2
[crossrootfs.git] / man-db / Pkgfile
CommitLineData
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
7name=man-db
99fc8737 8version=2.8.3
2f2aa78b
VM
9release=1
10source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz \
11 mandb.cron)
12
13build() {
14 cd $name-$version
15
42a40b6d
VM
16 export libpipeline_CFLAGS="$CFLAGS -I$CLFS/usr/include"
17 export libpipeline_LIBS="$LIBS -L$CLFS/usr/lib -lpipeline"
2f2aa78b
VM
18
19 ./configure --build=$CHOST \
20 --host=$CTARGET \
21 --prefix=/usr \
2f2aa78b
VM
22 --libexecdir=/usr/lib/$name \
23 --disable-setuid \
99fc8737 24 --disable-cache-owner \
2f2aa78b
VM
25 --disable-nls
26
27 make
28 make DESTDIR=$PKG install
2f2aa78b 29
99fc8737 30 rm -r $PKG/usr/share/doc
69cad3a2 31 rm -r $PKG/usr/lib/tmpfiles.d
2f2aa78b 32
69cad3a2
VM
33 install -d $PKG/var/cache/man
34 install -D -o root -g root -m 0755 $SRC/mandb.cron $PKG/etc/cron/daily/mandb
2f2aa78b 35}