wok-stable annotate gdbm/receipt @ rev 6751
Removed --enable-gold cause gcc and gcc+gcj don't compile right. This is a test to see if it compiles fine on build server without --enable-gold.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 17 17:13:35 2010 +0000 (2010-10-17) |
parents | |
children | 53e1828da719 |
rev | line source |
---|---|
pascal@1436 | 1 # SliTaz package receipt. |
pascal@1436 | 2 |
pascal@1436 | 3 PACKAGE="gdbm" |
pascal@1436 | 4 VERSION="1.8.3" |
pascal@1436 | 5 CATEGORY="misc" |
pascal@1436 | 6 SHORT_DESC="GNU database indexing library." |
pascal@1436 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1436 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1436 | 9 WEB_SITE="http://www.gnu.org/software/gdbm" |
pascal@1436 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@1436 | 11 |
pascal@1436 | 12 # Rules to configure and make the package. |
pascal@1436 | 13 compile_rules() |
pascal@1436 | 14 { |
pascal@1436 | 15 cd $src |
pascal@1436 | 16 sed -i -e 's/BINOWN = bin/BINOWN = root/' \ |
pascal@1436 | 17 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in |
pascal@1436 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1436 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1436 | 20 make && |
pascal@1436 | 21 make INSTALL_ROOT=$PWD/_pkg install |
pascal@1436 | 22 } |
pascal@1436 | 23 |
pascal@1436 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1436 | 25 genpkg_rules() |
pascal@1436 | 26 { |
pascal@1436 | 27 mkdir -p $fs/usr/lib |
pascal@1436 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1436 | 29 # Package all gdbm pkgs |
pascal@1436 | 30 for i in $(cd $WOK; ls -d gdbm-*) |
pascal@1436 | 31 do |
pascal@1436 | 32 tazwok genpkg $i |
pascal@1436 | 33 done |
pascal@1436 | 34 } |
pascal@1436 | 35 |