diff options
-rw-r--r-- | libv8/Makefile | 5 | ||||
-rw-r--r-- | libv8/libv8-so.p5m | 8 | ||||
-rw-r--r-- | libv8/libv8.p5m | 8 |
3 files changed, 17 insertions, 4 deletions
diff --git a/libv8/Makefile b/libv8/Makefile index 8b5df93..44d199a 100644 --- a/libv8/Makefile +++ b/libv8/Makefile @@ -10,7 +10,8 @@ license := BSD license-file := LICENSE.v8 version := 3.14.5 name := libv8 -libSoname := libv8.so +libSoname := libv8.so.$(version) +so-version := $(version) build-depends += \ pkg:/developer/build/gyp @@ -52,7 +53,7 @@ build-%-stamp: configure-%-stamp CXX="$(CXX)" \ LINK="$(CXX)" \ library=shared \ - soname_version= \ + soname_version=$(so-version) \ werror=no \ $(v8arch).release touch $@ diff --git a/libv8/libv8-so.p5m b/libv8/libv8-so.p5m new file mode 100644 index 0000000..7ad6660 --- /dev/null +++ b/libv8/libv8-so.p5m @@ -0,0 +1,8 @@ +set name=pkg.fmri value=pkg:/library/$(name)-$(so-version)@$(ips-version) +set name=pkg.summary value="$(summary), shared library, version $(so-version)" +set name=info.upstream-url value="$(home)" +set name=info.source-url value="$(download)" +license $(license-file) license="$(license)" + +file path=usr/lib/$(mach64)/$(libSoname) + diff --git a/libv8/libv8.p5m b/libv8/libv8.p5m index 3b078e9..b41bd39 100644 --- a/libv8/libv8.p5m +++ b/libv8/libv8.p5m @@ -1,10 +1,14 @@ set name=pkg.fmri value=pkg:/library/$(name)@$(ips-version) -set name=pkg.summary value="$(summary), shared library, version $(so-version)" +set name=pkg.summary value="$(summary)" set name=info.upstream-url value="$(home)" set name=info.source-url value="$(download)" license $(license-file) license="$(license)" -file path=usr/lib/$(mach64)/libv8.so +depend fmri=pkg:/library/$(name)-$(so-version)@$(ips-version) type=require +depend fmri=pkg:/library/$(name)-$(so-version)@$(ips-version) type=incorporate + +link path=usr/lib/$(mach64)/libv8.so \ + target=$(libSoname) file include/v8-debug.h path=usr/include/v8-debug.h file include/v8-preparser.h path=usr/include/v8-preparser.h |