milis/talimatname/genel/grantlee/talimat

26 lines
664 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Django şablon sistemine dayanan ve Qt ile yazılmış bir dize şablonu altyapısı
# URL: http://www.gitorious.org/grantlee/pages/Home
# Packager: milisarge
# 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
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
}