File: maintainer-build-package.sh

package info (click to toggle)
webissues 1.1.5-10
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 17,108 kB
  • sloc: ansic: 97,819; cpp: 33,773; javascript: 1,171; xml: 465; sh: 378; makefile: 17
file content (16 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e
# Copyright 2011 AZEVEDO Filipe

CURRENT_PWD="$PWD"
QMAKE="$1"

if [ -z "$QMAKE" ]; then
  QMAKE="/usr/local/Trolltech/4.7.4-lgpl/bin/qmake"
fi

cd "$CURRENT_PWD/../.."
./configure -system-sqlite -universal -prefix "$PWD/release/webissues.app/Contents/Resources" -qmake "$QMAKE"
make -j 6
make install
cd "$CURRENT_PWD"
./osx-package.sh "$CURRENT_PWD/../../release/webissues" "$QMAKE"