milis/talimatname/genel/p/poedit/talimat

24 lines
883 B
Plaintext
Raw Normal View History

2018-01-12 20:18:19 +01:00
# Tanım: Çapraz platform gettext katalogları (.po dosyaları) editörü
# URL: http://www.poedit.net/
# Paketçi: Cihan_Alkan
2018-01-12 21:07:15 +01:00
# Gerekler: boost gtkspell wxgtk lucenepp
2018-01-12 20:18:19 +01:00
# Grup:
isim=poedit
surum=2.0.5
devir=1
kaynak=(https://github.com/vslavik/poedit/releases/download/v$surum-oss/poedit-${surum}.tar.gz)
derle() {
#if komutuyla eğer yoksa demek lazım
2018-01-12 23:03:35 +01:00
#[ ! -L /usr/include/wx ] && ln -s /usr/include/wx-3.0/wx /usr/include/wx
2018-01-12 20:18:19 +01:00
cd "${SRC}"/${isim}-${surum}
2018-01-12 23:03:35 +01:00
GTKSPELL_LIBS="`pkg-config --libs gtkspell3-3.0`" GTKSPELL_CFLAGS="`pkg-config --cflags gtkspell3-3.0`" \
./configure --with-gtk=gtk3 \
--prefix=/usr --libexecdir=/usr/lib/poedit --with-wx-config=/usr/bin/wx-config
2018-01-12 20:18:19 +01:00
make CPPFLAGS+=' -DUCHAR_TYPE=uint16_t'
make DESTDIR="${PKG}" install
install -Dm644 COPYING "${PKG}"/usr/share/licenses/${isim}/LICENSE
2018-01-12 23:03:35 +01:00
#[ -L /usr/include/wx ] && rm /usr/include/wx
2018-01-12 20:18:19 +01:00
}