milis/talimatname/genel/g/grantlee/talimat

27 lines
664 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Django şablon sistemine dayanan ve Qt ile yazılmış bir dize şablonu altyapısı
2016-02-24 01:27:23 +01:00
# URL: http://www.gitorious.org/grantlee/pages/Home
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: qt4
2018-08-13 09:56:31 +02:00
# Grup: sistem
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=grantlee
surum=0.5.1
devir=2
kaynak=(http://downloads.grantlee.org/$isim-$surum.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
sed -e 's|INCLUDE_INSTALL_DIR include|INCLUDE_INSTALL_DIR include/grantlee-qt4|' -i CMakeLists.txt
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=OFF \
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
..
make
make DESTDIR=$PKG install
}