milis/talimatname/genel/a/agg/talimat

28 lines
653 B
Plaintext
Raw Normal View History

2017-10-30 11:32:28 +01:00
# Tanım: Anti-Grain Geometry (AGG) 2D grafik kütüphanesi
# URL: http://www.antigrain.com/
# Paketçi: milisarge
# Gerekler: sdl xorg-libx11 freetype
2017-10-30 11:37:37 +01:00
# Grup: kütüphane
2017-10-30 11:32:28 +01:00
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
}