milis/talimatname/genel/a/agg/talimat

28 lines
653 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: Anti-Grain Geometry (AGG) 2D grafik kütüphanesi
# URL: http://www.antigrain.com/
# Paketçi: milisarge
# Gerekler: sdl xorg-libx11 freetype
# Grup: kütüphane
isim=agg
surum=2.5
devir=1
kaynak=(http://www.antigrain.com/$isim-$surum.tar.gz
agg-2.5-libtool.patch)
derle() {
cd $isim-$surum
CXXFLAGS="${CXXFLAGS//-flto/}" LDFLAGS="${LDFLAGS//-flto/}"
sed -i -e 's|AM_C_PROTOTYPES|#AM_C_PROTOTYPES|g' configure.in
# http://www.hugovil.com/repository/hvlinux/patches/agg-2.5-libtool.patch
patch -p 1 -i $SRC/agg-2.5-libtool.patch
chmod u+x autogen.sh
./autogen.sh
./configure --prefix=/usr
make -j1
make DESTDIR=$PKG install
}