trying to build a package for webkitgtk-2.16.1
I'm trying to build a package for webkitgtk-2.16.1
There is no configure file (cmake is used). I can't find any documentation about the options available and where the installed files go to. After some trials and errors I was able to built it successfully by running this Code:
mkdir -p build || exit 1 I figured that these directories are going to be used for the installation if I want to manually copy the files: Code:
mkdir -p $PKG/usr/bin the *.pc files to the pkgconfig directory ... I tried to change the INSTALLATION DESTINATION PATH in the different cmake_install.cmake (with a seder) but when I run Code:
make install |
have you tried using the SlackBuild from SBo?
https://gitlab.com/SlackBuilds.org/s...ies/webkit2gtk I point you at the gitlab mirror of the SBo repository because ATM the server is not reachable probably for a network issue upstream (as you might guess with traceroute). |
Quote:
Code:
make install DESTDIR=$PKG I'm afraid this will try to install at the root filesystem |
Quote:
Code:
PKG=$TMP/package-$PRGNAM Edit: Ooops, I forgot to mention like ponce does below, that DESTDIR is recognized by cmake already. |
Quote:
if you look at the Makefile in the build directory (generated by running cmake), it calls several other Makefile in the subdirectories of ./build: those, for the "install" target call theirself the relative cmake_install.cmake files that contain references to DESTDIR. Code:
/tmp/SBo/webkitgtk-2.16.1/build# find . -name cmake_install.cmake -exec grep DESTDIR {} \; |
Quote:
By the way Code:
make Code:
make install DESTDIR=$PKG Thanks again Now, where's this solved button again? |
All times are GMT -5. The time now is 10:14 AM. |