diff options
Diffstat (limited to 'system/capstone')
-rw-r--r-- | system/capstone/capstone.SlackBuild | 10 | ||||
-rw-r--r-- | system/capstone/capstone.info | 6 |
2 files changed, 9 insertions, 7 deletions
diff --git a/system/capstone/capstone.SlackBuild b/system/capstone/capstone.SlackBuild index fe645c81efb5..27aeb32b934f 100644 --- a/system/capstone/capstone.SlackBuild +++ b/system/capstone/capstone.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=capstone -VERSION=${VERSION:-3.0.5} +VERSION=${VERSION:-4.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -101,12 +101,14 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr # to generate .pc file do: $ python setup.py build # inside bindings/python mkdir -p $PKG/usr/share/pkgconfig -sed -e "s|%VERSION%|$VERSION|" -e "s|%LIBDIRSUFFIX%|$LIBDIRSUFFIX|" \ - < $CWD/capstone.pc.in \ +sed -e "s|@CMAKE_INSTALL_PREFIX@|/usr|" \ + -e "s|@VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@|$VERSION|" \ + -e "s|@LIBSUFFIX@|$LIBDIRSUFFIX|" \ + < capstone.pc.in \ > $PKG/usr/share/pkgconfig/capstone.pc mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COMPILE* LICENSE* README TODO RELEASE_NOTES HACK.TXT ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COMPILE* CREDITS.TXT ChangeLog HACK.TXT LICENSE* README.md RELEASE_NOTES SPONSORS.TXT TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/capstone/capstone.info b/system/capstone/capstone.info index e79138c4394c..778176b0e33f 100644 --- a/system/capstone/capstone.info +++ b/system/capstone/capstone.info @@ -1,8 +1,8 @@ PRGNAM="capstone" -VERSION="3.0.5" +VERSION="4.0.1" HOMEPAGE="http://www.capstone-engine.org" -DOWNLOAD="https://github.com/aquynh/capstone/archive/3.0.5/capstone-3.0.5.tar.gz" -MD5SUM="2cd59a5a83b50fbf7663b1678bae9410" +DOWNLOAD="https://github.com/aquynh/capstone/archive/3.0.5/capstone-4.0.1.tar.gz" +MD5SUM="1b0a9a0d50d9515dcf7684ce0a2270a4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |