Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 30th, 2013  |  syntax: None  |  size: 1.60 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. SUMMARY = "Generates SQL from Perl data structures"
  2. AUTHOR = "Peter Rabbitson <ribasushi@cpan.org>"
  3. HOMEPAGE = "https://metacpan.org/release/SQL-Abstract"
  4. SECTION = "libs"
  5. LICENSE = "Artistic-1.0 | GPL-1.0+"
  6. LIC_FILES_CHKSUM = "file://META.yml;md5=9756eb4cd606e68606e3f7de3567eed8"
  7.  
  8. RDEPENDS_${PN} = " \
  9.                  perl-module-scalar-util \
  10.                  perl-module-list-util \
  11.                  libclass-accessor-grouped-perl \
  12.                  libgetopt-long-descriptive-perl \
  13.                  libhash-merge-perl \
  14.                  "
  15.  
  16. RPROVIDES_${PN} =  " \
  17.                   libsql-abstract-perl \
  18.                   libsql-abstract-test-perl \
  19.                   libsql-abstract-tree-perl \
  20.                   "
  21.  
  22. SRC_URI = "http://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/SQL-Abstract-${PV}.tar.gz"
  23. SRC_URI[md5sum] = "4eca363f44ab195e75f45f307c37660e"
  24. SRC_URI[sha256sum] = "55466f4a2dd9f919037d32e5a97b01084168e359b51fde85045215ea0405e7f2"
  25.  
  26. S = "${WORKDIR}/SQL-Abstract-${PV}"
  27.  
  28. PARALLEL_MAKE = ""
  29.  
  30. do_configure_append() {
  31.  
  32.     # Prepend STAGING_DIR_TARGET to -rpath in CCDLFLAGS
  33.     sed -i 's|\(.*-rpath,\)|\1${STAGING_DIR_TARGET}|' ${S}/Makefile
  34.  
  35.     # And for SITELIBEXP, SITEARCHEXP, VENDORLIBEXP VENDORARCHEXP
  36.     sed -i 's|\(SITELIBEXP = \)\(.*\)|\1${STAGING_DIR_TARGET}\2|' ${S}/Makefile
  37.     sed -i 's|\(SITEARCHEXP = \)\(.*\)|\1${STAGING_DIR_TARGET}\2|' ${S}/Makefile
  38.  
  39.     sed -i 's|\(VENDORLIBEXP = \)\(.*\)|\1${STAGING_DIR_TARGET}\2|' ${S}/Makefile
  40.     sed -i 's|\(VENDORARCHEXP = \)\(.*\)|\1${STAGING_DIR_TARGET}\2|' ${S}/Makefile
  41.  
  42. }
  43.  
  44. inherit cpan
  45.  
  46. BBCLASSEXTEND = "native"
clone this paste RAW Paste Data