2017-03-24 12:40:31 +01:00
|
|
|
|
# Description: 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-01-31 01:37:09 +01:00
|
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on: qt4
|
|
|
|
|
|
|
|
|
|
name=grantlee
|
|
|
|
|
version=0.5.1
|
|
|
|
|
release=2
|
|
|
|
|
source=(http://downloads.grantlee.org/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
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
|
|
|
|
|
}
|