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

commit 58bcecb0ec51f570daa43d7196ac42793707f9da
Author: James Buren <r...@frugalware.org>
Date:   Fri Oct 16 16:07:05 2009 -0500

fpc-2.2.4-4-i686
* release bump
* merge fpc-src into a subpkg

diff --git a/source/devel-extra/fpc/FrugalBuild 
b/source/devel-extra/fpc/FrugalBuild
index b7d47eb..3d8a743 100644
--- a/source/devel-extra/fpc/FrugalBuild
+++ b/source/devel-extra/fpc/FrugalBuild
@@ -3,8 +3,8 @@

pkgname=fpc
pkgver=2.2.4
-pkgrel=3
-pkgdesc="FreePascal Compiler"
+pkgrel=4
+pkgdesc="Free Pascal Compiler"
url="http://www.freepascal.org";
depends=('gpm>=1.20.5-2')
makedepends=('fpc-bin' 'tetex' 'gtk+2')
@@ -14,7 +14,13 @@ archs=('i686' 'x86_64')
up2date="lynx -dump $url |grep 'latest stable' |sed 's/.*Version \(.*\) 
is.*/\1/'"
backup=('etc/fpc.cfg')
source=(ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/${pkgname}build-$pkgver.tar.gz
 fpc.cfg)
-sha1sums=('9ea373ad4be152b67a249784f69cfd23702e61fe'\
+_src_dir="/usr/lib/$pkgname/src"
+subpkgs=("$pkgname-src")
+subdescs=("Source code for $pkgdesc")
+subgroups=('devel-extra')
+subarchs=('i686 x86_64')
+suboptions=('nostrip')
+sha1sums=('9ea373ad4be152b67a249784f69cfd23702e61fe' \
'4ce8d592eb00601cd7d879031bd9163211b7ddf6')

build() {
@@ -25,7 +31,13 @@ build() {
else
ppcname="ppc386"
fi
-       Fcd ${pkgname}build-${pkgver}
+       Fcd ${pkgname}build-${pkgver}/fpcsrc
+       Fmkdir "$_src_dir"
+       Fcprel . "$_src_dir"
+       Fdirschmod "$_src_dir" 0755
+       Ffileschmod "$_src_dir" 0644
+       Fsplit "$pkgname-src" "$_src_dir"
+       cd .. || Fdie
NEWPP=`pwd`/fpcsrc/compiler/$ppcname
NEWFPDOC=`pwd`/fpcsrc/utils/fpdoc/fpoc
make NOGDB=1 all || Fdie
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to