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

commit ba0a17cd0895aa322f0b43ecf2832bf7b6f6d54a
Author: crazy <[email protected]>
Date:   Mon Mar 13 19:49:18 2017 +0100

gsm-1.0.16-3-x86_64
* added shared lib ( the weird way .. ) , need some patch for that

diff --git a/source/multimedia/gsm/FrugalBuild 
b/source/multimedia/gsm/FrugalBuild
index 504562a..ed0c26b 100644
--- a/source/multimedia/gsm/FrugalBuild
+++ b/source/multimedia/gsm/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=gsm
pkgver=1.0.16
-pkgrel=2
+pkgrel=3
pkgdesc="Gsm is an implementation of the final draft GSM 06.10 standard for 
full-rate speech transcoding."
url="http://www.quut.com/gsm";
depends=('glibc>=2.25')
@@ -21,10 +21,14 @@ build() {
CFLAGS="$CFLAGS -fPIC"
Fsed '-O2' "$CFLAGS" Makefile
Fmake
-       make INSTALL_ROOT=$Fdestdir/$Fprefix \
+       Fexec make INSTALL_ROOT=$Fdestdir/$Fprefix \
GSM_INSTALL_INC=$Fdestdir/$Fprefix/include/gsm \
TOAST_INSTALL_MAN=$Fdestdir/$Fprefix/share/man/man1 \
GSM_INSTALL_MAN=$Fdestdir/$Fprefix/share/man/man3 install || Fdie
+       ## weird .. FIXME need PATCH
+       Fexec cd $Fdestdir/usr/lib
+       Fexec ld --whole-archive -shared -o libgsm.so.1 libgsm.a
+       Fexec ln -s libgsm.so.1 libgsm.so
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to