Last active
December 29, 2015 19:41
-
-
Save jimjh/b9c9415a64595f4e4513 to your computer and use it in GitHub Desktop.
libgit2-fpm.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr --build . | |
# make | |
# make install DESTDIR=~/tmpinstalldir | |
fpm -f \ | |
-s dir \ | |
-t deb \ | |
-n libgit2 \ | |
-v 0.23.4ppa1 \ | |
-C ~/tmpinstalldir \ | |
-p libgit2_VERSION_ARCH.deb \ | |
-d "libc6 >= 2.15" \ | |
-d "libssl1.0.0 >= 1.0.0" \ | |
-d "zlib1g >= 1:1.1.4" \ | |
--description "libgit2 is a portable, pure C implementation of the Git distributed version control system core methods provided as a re-entrant link-able library with a solid API." \ | |
--url http://libgit2.github.com/ \ | |
--category universe/libs \ | |
--license "GPLv2 with Linking Exception" \ | |
--maintainer "James Lim <[email protected]>" \ | |
--replaces libgit2-0 \ | |
--vendor "James Lim" \ | |
usr/lib usr/include |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It needs to be in
/usr/lib
instead of/usr/local/lib
, so thatpygit2
can find it.