mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
sqlitebrowser: fix recipe (#973)
This commit is contained in:
committed by
Jérôme Duval
parent
77f5264986
commit
307b9fa463
@@ -42,6 +42,13 @@ BUILD()
|
||||
{
|
||||
qmake -o Makefile $sourceDir/sqlitebrowser.pro
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make $jobArgs install
|
||||
mkdir -p $appsDir
|
||||
cp $sourceDir/src/sqlitebrowser $appsDir/SQLiteBrowser
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
@@ -52,18 +59,8 @@ BUILD()
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
$portDir/additional-files/sqlitebrowser.rdef.in > sqlitebrowser.rdef
|
||||
addResourcesToBinaries sqlitebrowser.rdef $appsDir/SQLiteBrowser
|
||||
|
||||
rc $portDir/additional-files/sqlitebrowser.rdef -o $sourceDir/src/sqlitebrowser.rsrc
|
||||
|
||||
xres -o $sourceDir/src/sqlitebrowser $sourceDir/src/sqlitebrowser.rsrc
|
||||
mimeset -f $sourceDir/src/sqlitebrowser
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make $jobArgs install
|
||||
mkdir -p $appsDir
|
||||
cp $sourceDir/src/sqlitebrowser $appsDir/SQLiteBrowser
|
||||
addAppDeskbarSymlink $appsDir/SQLiteBrowser SQLiteBrowser
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user