I am trying to write a build.jl that relies on a BitBucket repo. The problem is that when unpacked BitBucket repos/tars contain commit id’s (
mypackage/deps/src/bitbucket user - packagename - commit id/ ) so users will keep getting build errors whenever the commit id changes.
using BinDeps @BinDeps.setup packagename_uri = URI("https://bitbucket.org/bitbucketuser/packagename/get/develop.tar.gz") packagename = library_dependency("packagename") provides(Sources, packagename_uri, packagename) provides(BuildProcess, Dict(Autotools(libtarget = "packagename.so") => packagename) @BinDeps.install Dict(:packagename => :packagename)
How can I modify this so that make and make install are run in the correct location, whatever commit id is presetn in the .tar file?