milis/talimatname/genel/l/libffi/talimat

28 lines
781 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Çeşitli arama kurallarına taşınabilir, yüksek seviyeli bir programlama arabirimi sağlayın.
# URL: http://sourceware.org/libffi/
# Paketçi: milisarge
# Gerekler:
# Grup: kütüphane
isim=libffi
surum=3.2.1
devir=1
kaynak=( ftp://sourceware.org/pub/$isim/$isim-$surum.tar.gz )
derle() {
cd $isim-$surum
sed -e '/^includesdir/ s:$(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include:$(includedir):' \
-i include/Makefile.in
sed -e '/^includedir/ s:${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include:@includedir@:' \
-e 's/^Cflags: -I${includedir}/Cflags:/' \
-i libffi.pc.in
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm -f $PKG/usr/share/info/dir
if [ "`uname -m`" == "x86_64" ];then
mv $PKG/usr/lib64/lib* $PKG/usr/lib
rm -r $PKG/usr/lib64
fi
}