milis/talimatname/genel/g/grantlee/talimat

26 lines
657 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
2016-02-24 01:27:23 +01:00
name=grantlee
version=0.5.1
release=2
source=(http://downloads.grantlee.org/$name-$version.tar.gz)
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
cd $name-$version
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
}