[aur-general] cmake build
Nathan O
ndowens.aur at gmail.com
Sat Aug 28 01:30:42 EDT 2010
On Sat, Aug 28, 2010 at 12:18 AM, Nathan O <ndowens.aur at gmail.com> wrote:
>
>
> On Fri, Aug 27, 2010 at 6:43 AM, Bernhard Walle <bernhard at bwalle.de>wrote:
>
>> Am 27.08.2010 13:08, schrieb Ray Rashif:
>> >
>> > cmake . -DCMAKE_INSTALL_PREFIX=/usr \
>> > -DCMAKE_SKIP_RPATH=ON
>>
>> Also build the release version with '-DCMAKE_BUILD_TYPE=Release',
>> because otherwise the binary contains references to the source code so
>> that gdb finds the source files.
>>
>>
>> Regards,
>> Bernhard
>>
>> Thank you all for the tips, I simily prefer the ./configure and make
> system :D, never had very much experience with cmake
>
I put
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
> -DCMAKE_SKIP_RPATH=ON \
> -DCMAKE_BUILD_TYPE=Release
>
> install -d ${pkgdir}/usr/{bin,share/{applications,pixmaps,${pkgname}}}
> make DESTDIR="${pkgdir}" install
> install -m644 res/pic/${pkgname}.png
> ${pkgdir}/usr/share/pixmaps/${pkgname}.png
> install -Dm644 ${srcdir}/${pkgname}.desktop
> ${pkgdir}/usr/share/applications/${pkgname}.desktop
>
> Still says that grep -R $(pwd)/src pkg/
Binary file pkg/usr/bin/fqterm.bin matches
More information about the aur-general
mailing list