Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7a5611e8db7cd5f9fe977f9ef9e811ef8507510b

commit 7a5611e8db7cd5f9fe977f9ef9e811ef8507510b
Author: Devil505 <devil505li...@gmail.com>
Date:   Thu Mar 10 10:12:05 2011 +0100

man-db-2.5.9-1-i686
* forgot to add FrugalBuild XD

diff --git a/source/base/man-db/FrugalBuild b/source/base/man-db/FrugalBuild
new file mode 100644
index 0000000..bd84533
--- /dev/null
+++ b/source/base/man-db/FrugalBuild
@@ -0,0 +1,52 @@
+# Compiling Time: 0.12 SBU
+# Maintainer: Devil505 <devil505li...@gmail.com>
+
+pkgname=man-db
+pkgver=2.5.9
+pkgrel=1
+pkgdesc="A utility for reading man pages"
+url="http://www.nongnu.org/man-db/";
+depends=('bash' 'gdbm' 'zlib' 'groff' 'less')
+replaces=('man')
+provides=('man')
+conflicts=('man')
+groups=('base')
+archs=('i686' 'x86_64' 'ppc')
+backup=('etc/man_db.conf' 'etc/cron.daily/man-db' 
'etc/profile.d/man-colors.sh')
+up2date="Flasttar http://download.savannah.gnu.org/releases/man-db/";
+source=(http://savannah.nongnu.org/download/man-db/$pkgname-$pkgver.tar.gz \
+    man.sh man-colors.sh README.Frugalware \
+    convert-mans man-db.cron.daily)
+sha1sums=('e307ec4c440b82c20c9c20984852046d01426333' \
+          '33ed8d61d09f8711176fd18b7ae4e3a2d3354cf6' \
+          'b51fd2d450c7a0982e605e74010256a40a3fa05e' \
+          '3a1e22acd8931537d5c2694a536913c02e0d448e' \
+          '3c7a367d74f1e492033c6b7785b2a4cac7f0eeb1' \
+          'b180d7b4e4dd2323bd4058d9954dcd36b28df796')
+
+build()
+{
+       Fcd
+       Fconf --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
+       --with-db=gdbm --disable-setuid --enable-mandirs=GNU \
+       --with-sections="1 n l 8 3 0 2 5 4 9 6 7"
+
+       make || Fdie
+       Fmakeinstall
+
+       # part of groff pkg
+       Frm usr/bin/zsoelim
+
+       # script from LFS to convert manpages, see
+       # http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/man-db.html
+       Fexe convert-mans  usr/bin/convert-mans
+
+       #install whatis cron script
+       Finstall 744 man-db.cron.daily etc/cron.daily/man-db
+
+       Fexe /etc/profile.d/man.sh
+       Ffile /etc/profile.d/man-colors.sh
+       Fdoc README.Frugalware
+}
+
+# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to