Skip to content

Commit

Permalink
Packages rpm,deb and tgz
Browse files Browse the repository at this point in the history
  • Loading branch information
Stas Kobzar committed Jun 19, 2018
1 parent e3ed783 commit 591df35
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ install:
package: build
@cd build && make package
@cp build/sippak-*.rpm dist
@cp build/sippak-*.deb dist
@cp build/sippak-*.tar.gz dist

build:
@test -d ${BUILD_DIR} || mkdir ${BUILD_DIR}
Expand Down
7 changes: 4 additions & 3 deletions dist/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@

SET(SIPPAK_PKG_VER "${sippak_VERSION}-beta")

set (CPACK_GENERATOR "RPM")
set (CPACK_GENERATOR "RPM;DEB;TGZ")
set (CPACK_PACKAGE_VERSION ${SIPPAK_PKG_VER})
set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "SIP protocol command line utility.")

set (CPACK_DEBIAN_PACKAGE_MAINTAINER "Stas Kobzar <[email protected]>")
set (CPACK_DEBIAN_PACKAGE_DEPENDS "pjproject>=2.7.1")
set (CPACK_DEBIAN_PACKAGE_DEPENDS "libalsaplayer0,libasound2")
set (CPACK_DEBIAN_PACKAGE_SECTION "net")

set (CPACK_RPM_PACKAGE_VENDOR "Stas Kobzar <[email protected]>")
set (CPACK_RPM_PACKAGE_REQUIRES "libpjproject>=2.7.1")
set (CPACK_RPM_PACKAGE_REQUIRES "alsa-lib>=1.1.4")
set (CPACK_RPM_PACKAGE_LICENSE "GNU General Public License v3.0")
set (CPACK_RPM_PACKAGE_GROUP "Networking Tools")

Expand Down
Binary file added dist/sippak-1.0.0-beta-Linux.deb
Binary file not shown.
Binary file added dist/sippak-1.0.0-beta-Linux.rpm
Binary file not shown.
Binary file added dist/sippak-1.0.0-beta-Linux.tar.gz
Binary file not shown.

0 comments on commit 591df35

Please sign in to comment.