[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to do this with dh7



Hello, 

I used a cdbs script provided by upstream and then everything compiles fine,

I see these things mentioned there; 

# Use recursive variables since this variable must not be expanded until
# files have been installed.
LIBMOZJS = $(shell objdump -p debian/tmp/usr/lib/libcjs.so | awk '$$1=="NEEDED" && $$2~/^libmozjs/ { print $$2 }' | sed s/\\.so\\./-/ )
DEB_DH_MAKESHLIBS_ARGS_libcjs0c = -Xusr/lib/cjs-1.0/ -V'libcjs0c (>= $(DEB_UPSTREAM_VERSION)), libcjs0-$(LIBMOZJS)' -- -c4

DEB_MAKE_CHECK_TARGET := check || true

install/libcjs0c::
        echo cjs:Provides=libcjs0-$(LIBMOZJS)>> debian/$(cdbs_curpkg).substvars


Is there a way I can do the same with dh7 


Roelof 		 	   		  

Reply to: