wok view pciutils/receipt @ rev 13688
Add mdocml (very light man formatter), mdocml-extra, mdocml-cgi, mdocml-man, mdocml-dev. Now we can use 'mandoc /usr/share/man/man1/xterm.1 | less' to see well formatted manpage, but we still need 'man' wrapper to mandoc to search and page man pages. Cgi and other packages yet not tested at all.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Dec 09 17:07:54 2012 +0000 (2012-12-09) |
parents | 67ed620748b8 |
children | 408c87fa22ca |
line source
1 # SliTaz package receipt.
3 PACKAGE="pciutils"
4 VERSION="3.1.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities to list PCI device by name (lspci)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://mj.ucw.cz/pciutils.html"
10 WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL"
12 DEPENDS="glibc-base zlib pciids"
13 BUILD_DEPENDS="wget"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make OPT="${CFLAGS} -fPIC -DPIC" SHARED=no PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man all
20 cp -a lib/libpci.a $WOK/$PACKAGE/source
21 make clean
22 make OPT="${CFLAGS}" ZLIB=yes SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man all
23 make SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/misc MANDIR=/usr/share/man DESTDIR="$DESTDIR" install install-lib
24 cp -a $WOK/$PACKAGE/source/libpci.a $DESTDIR/usr/lib
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/lib
31 cp -a $install/usr/sbin/lspci $fs/usr/bin
32 cp -a $install/usr/sbin/setpci $fs/usr/bin
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }
36 # Overlap busybox
37 pre_install()
38 {
39 rm -f $1/usr/bin/lspci
40 }
42 post_remove()
43 {
44 ln -s /bin/busybox $1/usr/bin/lspci
45 }