<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
[
<!ENTITY % general_entities SYSTEM "../config/general.ent">
<!ENTITY % package_entities SYSTEM "../config/package.ent">
%general_entities;
%package_entities;
]>
<alfs>
<package name="man-db" version="&man-db-version;">
<stage name="Download and Check">
<download>
<file>&man-db-package;</file>
<url>&man-db-package-url;</url>
<destination>&packages_dir;</destination>
<digest>&man-db-md5;</digest>
</download>
</stage>
<stage name="Unpacking">
<unpack>
<archive>&packages_dir;/&man-db-package;</archive>
<destination>&build_dir;</destination>
</unpack>
</stage>
<stage name="Installing">
<stageinfo>
<base>&build_dir;/&man-db-directory;</base>
</stageinfo>
<move>
<source>man/de_DE.88591</source>
<destination>man/de</destination>
</move>
<move>
<source>man/es_ES.88591</source>
<destination>man/es</destination>
</move>
<move>
<source>man/it_IT.88591</source>
<destination>man/it</destination>
</move>
<move>
<source>man/ja_JP.eucJP</source>
<destination>man/ja</destination>
</move>
<execute command="sed">
<param>-i '/\t\/usr\/man/d'</param>
<param>src/man_db.conf.in</param>
</execute>
<textdump mode="include">
<file>manconfig.h.in</file>
<content>
=#define WEB_BROWSER "exec /usr/bin/lynx"
=#define COL "/usr/bin/col"
=#define VGRIND "/usr/bin/vgrind"
=#define GRAP "/usr/bin/grap"
</content>
</textdump>
</stage>
<configure>
<param>-prefix=/usr</param>
<param>--enable-mb-groff</param>
<param>--disable-setuid</param>
</configure>
<make>
<param>&jlevel;</param>
</make>
<make>
<param>install</param>
</make>
</stage>
<stage name="Cleanup">
<remove>&build_dir;/&man-db-directory;</remove>
</stage>
</package>
</alfs>
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page