Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Add RPM to package generation #55

Merged
merged 1 commit into from
Nov 13, 2017

Conversation

tonylambiris
Copy link
Contributor

╰ make package
[100%] Built target evhtp
Run CPack packaging tool...
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: libevhtp
CPack: - Install project: libevhtp
CPack: Create package
CPack: - package: /home/tlambiris/Documents/Git/libevhtp/build/libevhtp_1.2.12-2307737_amd64.deb generated.
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: libevhtp
CPack: - Install project: libevhtp
CPack: Create package
CPackRPM: Will use GENERATED spec file: /home/tlambiris/Documents/Git/libevhtp/build/_CPack_Packages/Linux/RPM/SPECS/libevhtp.spec
CPack: - package: /home/tlambiris/Documents/Git/libevhtp/build/libevhtp_1.2.12-2307737_amd64.rpm generated.

╰ rpm -qlp /home/tlambiris/Documents/Git/libevhtp/build/libevhtp_1.2.12-2307737_amd64.rpm
/usr/local
/usr/local/include
/usr/local/include/evhtp
/usr/local/include/evhtp.h
/usr/local/include/evhtp/config.h
/usr/local/include/evhtp/evhtp.h
/usr/local/include/evhtp/parser.h
/usr/local/include/evhtp/thread.h
/usr/local/lib
/usr/local/lib/libevhtp.a
/usr/local/lib/pkgconfig
/usr/local/lib/pkgconfig/evhtp.pc

@NathanFrench NathanFrench merged commit 8333422 into Yellow-Camper:develop Nov 13, 2017
NathanFrench added a commit that referenced this pull request Nov 13, 2017
Added packaging.cmake, a nice wrapper around creating a proper template
around packaging. By default only TGZ is enabled, to use DEB or RPM,
pass -G <TYPE> to the cpack commandline:

   `cpack -G DEB`
   `cpack -G RPM`
@NathanFrench
Copy link
Collaborator

Now works with options here: 4c5dbe2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants