SHARE
TWEET

Untitled

a guest Apr 22nd, 2019 145 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SUMMARY="A free COBOL compiler"
  2. DESCRIPTION="GnuCOBOL (formerly OpenCOBOL) is a free COBOL compiler. cobc translates COBOL source to executable using intermediate C, designated C compiler and linker."
  3. HOMEPAGE="https://sourceforge.net/projects/open-cobol/"
  4. SOURCE_URI="https://downloads.sourceforge.net/project/open-cobol/gnu-cobol/3.0/gnucobol-3.0-rc1.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fopen-cobol%2Ffiles%2Flatest%2Fdownload&ts=1555785026"
  5. REVISION="1"
  6. LICENSE="GNU GPL v3"
  7. COPYRIGHT="2001-2019 Free Software Foundation, Inc"
  8. CHECKSUM_SHA256="e55aeea6b1f77e763b4cd4b520c78eb06da7671b4dcc76463fd0237dbf2e4816"
  9. SOURCE_DIR="gnucobol-3.0-rc1"
  10.  
  11. ARCHITECTURES="x86_64"
  12.  
  13. PROVIDES="
  14.     gnucobol = $portVersion
  15.     cmd:cob_config
  16.     cmd:cobc
  17.     cmd:cobcrun
  18.     lib:libcob
  19.     "
  20.  
  21. REQUIRES="
  22.         haiku
  23.         cmd:gcc
  24.         cmd:bison
  25.         cmd:flex
  26.         cmd:perl
  27.         cmd:m4
  28.         lib:libidn2
  29.         lib:libgmp
  30.         lib:libncurses
  31.         lib:libdb
  32.         lib:libltdl
  33.         lib:libintl
  34.         "
  35.  
  36. BUILD_REQUIRES="
  37.         haiku_devel
  38.         devel:libidn2
  39.         devel:libgmp
  40.         devel:libltdl
  41.         devel:libncurses
  42.         devel:libdb
  43.         devel:libintl
  44.         "
  45.  
  46. BUILD_PREREQUIRES="
  47.         cmd:gcc
  48.         cmd:bison
  49.         cmd:flex
  50.         cmd:perl
  51.         cmd:make
  52.         cmd:pkg_config
  53.         cmd:autoconf
  54.         cmd:aclocal
  55.         cmd:m4
  56.         "
  57.        
  58.  
  59. #PATCHES="
  60. #   "
  61.  
  62. BUILD()
  63. {
  64.     autoreconf -vfi
  65.     runConfigure ./configure
  66.     make $jobArgs
  67. }
  68.  
  69. INSTALL()
  70. {
  71.     make install
  72.         prepareInstalledDevelLib libcob
  73.     rm $developLibDir/*.la
  74.     fixPkgconfig
  75.  
  76.     # devel package
  77.     packageEntries devel \
  78.         $developDir
  79. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top