diff options
author | SeungKeun Lee <sngn.lee@samsung.com> | 2012-02-15 09:29:08 +0900 |
---|---|---|
committer | SeungKeun Lee <sngn.lee@samsung.com> | 2012-02-15 09:29:08 +0900 |
commit | dca65941436451bbd75cb3e935bfa1c611794932 (patch) | |
tree | cae60f2639279abcb2f50a3f2e1f10ebe6b8b4fb | |
parent | caade5e99ff01ab73bb3a214d7b56c63461a8653 (diff) | |
download | image-util-dca65941436451bbd75cb3e935bfa1c611794932.tar.gz image-util-dca65941436451bbd75cb3e935bfa1c611794932.tar.bz2 image-util-dca65941436451bbd75cb3e935bfa1c611794932.zip |
add so version
-rwxr-xr-x | CMakeLists.txt | 8 | ||||
-rwxr-xr-x | debian/changelog | 8 | ||||
-rwxr-xr-x | debian/rules | 5 |
3 files changed, 20 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a75862e..ec9f120 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,6 +60,14 @@ ADD_LIBRARY(${fw_name} SHARED ${SOURCES}) TARGET_LINK_LIBRARIES(${fw_name} ${${fw_name}_LDFLAGS}) +SET_TARGET_PROPERTIES(${fw_name} + PROPERTIES + VERSION ${FULLVER} + SOVERSION ${MAJORVER} + CLEAN_DIRECT_OUTPUT 1 +) + + INSTALL(TARGETS ${fw_name} DESTINATION lib) INSTALL( DIRECTORY ${INC_DIR}/ DESTINATION include/${service} diff --git a/debian/changelog b/debian/changelog index 9a5bdae..7e0a5a9 100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +capi-media-image-util (0.1.0-8) unstable; urgency=low + + * add so version + * Git: slp-source.sec.samsung.net:slp/api/image-util + * Tag: capi-media-image-util_0.1.0-8 + + -- Seungkeun Lee <sngn.lee@samsung.com> Tue, 14 Feb 2012 16:46:24 +0900 + capi-media-image-util (0.1.0-7) unstable; urgency=low * boundary check update diff --git a/debian/rules b/debian/rules index 3aab80d..6da839b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,8 @@ #!/usr/bin/make -f +FULLVER ?= $(shell dpkg-parsechangelog | grep Version: | cut -d ' ' -f 2 | cut -d '-' -f 1) +MAJORVER ?= $(shell echo $(FULLVER) | cut -d '.' -f 1) + CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) @@ -13,7 +16,7 @@ CMAKE_BUILD_DIR ?= $(CURDIR)/cmake_build_tmp configure: configure-stamp configure-stamp: dh_testdir - mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && cmake .. + mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && cmake .. -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER} touch configure-stamp |