Magellan Linux

Diff of /branches/R11-unstable/extras/crypto++/crypto++-5.6.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/extras/crypto++/crypto++-5.6.2-r1.smage2 revision 20576 by niro, Tue Jan 28 10:41:45 2014 UTC branches/R11-unstable/extras/crypto++/crypto++-5.6.2-r1.smage2 revision 25162 by niro, Tue Nov 25 03:09:13 2014 UTC
# Line 15  DEPEND=">= virtual/glibc Line 15  DEPEND=">= virtual/glibc
15  SDEPEND=">= app-arch/unzip-6  SDEPEND=">= app-arch/unzip-6
16   >= virtual/sed"   >= virtual/sed"
17    
18  SRCFILE="${PNAME}${PVER//.}.zip"  SRCFILE="${PNAME/++/pp}${PVER//.}.zip"
19  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20    
21  sminclude mtools  sminclude mtools
# Line 40  src_compile() Line 40  src_compile()
40  {  {
41   cd ${SRCDIR}   cd ${SRCDIR}
42    
43   # disable dbug and support pic   # disable debug and support pic
44   export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"   export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
45    
46   mmake -f GNUmakefile || die   mmake -f GNUmakefile || die
47   # build so-lib   # build so-lib
48   mmake libcrypopp.so || die   mmake libcryptopp.so || die
49  }  }
50    
51  src_install()  src_install()
# Line 56  src_install() Line 56  src_install()
56   minstallfile \*.h /usr/include/cryptopp || die   minstallfile \*.h /usr/include/cryptopp || die
57   minstalldir /usr/$(mlibdir)/pkgconfig || die   minstalldir /usr/$(mlibdir)/pkgconfig || die
58   minstallexec libcryptopp.so /usr/$(mlibdir) || die   minstallexec libcryptopp.so /usr/$(mlibdir) || die
59   minstallfile libcrypto++.pc /usr/$(mlibdir)/pkgconfig || die  
60     MCONFIG="/usr/$(mlibdir)/pkgconfig/libcrypto++.pc"
61     mclearconfig
62     maddconfig 'prefix=/usr'
63     maddconfig "libdir=\${prefix}/$(mlibdir)"
64     maddconfig 'includedir=${prefix}/include'
65     maddconfig
66     maddconfig "Name: libcrypto++-${PVER}"
67     maddconfig 'Description: Class library of cryptographic schemes'
68     maddconfig "Version: ${PVER}"
69     maddconfig 'Libs: -L${libdir} -lcryptopp'
70     maddconfig 'Cflags: -I${includedir}'
71    
72   minstalldocs License.txt Readme.txt || die   minstalldocs License.txt Readme.txt || die
73  }  }

Legend:
Removed from v.20576  
changed lines
  Added in v.25162