bearz89

package.yml

Nov 23rd, 2018
134
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. name : digimend-kernel-drivers
  2. version : 8
  3. release : 1
  4. source :
  5. - https://github.com/DIGImend/digimend-kernel-drivers/releases/download/v8/digimend-kernel-drivers-8.tar.gz : a816a2002f33a1e8743b1d2ca419ab4be9c18368efb33874da961134bdb6a66e
  6. license : GPL-2.0
  7. component : kernel.drivers
  8. summary : DIGImend graphics tablet drivers for the Linux kernel.
  9. description: |
  10. DIGImend adds drivers for a wide range of graphics tablets to the Linux kernel.
  11. builddeps :
  12. - pkgconfig(libelf)
  13. - linux-lts
  14. - linux-lts-headers
  15. - linux-current
  16. - linux-current-headers
  17. rundeps :
  18. - linux-lts
  19. - current: linux-current
  20. permanent :
  21. - /lib/modules
  22. setup : |
  23. pushd ..
  24. cp -a digimend-kernel-drivers-${version} lts-build
  25. cp -a digimend-kernel-drivers-${version} current-build
  26. build : |
  27. pushd ../lts-build
  28. %make KVERSION="%kernel_version_lts%"
  29.  
  30. pushd ../current-build
  31. %make KVERSION="%kernel_version_current%"
  32.  
  33. install : |
  34. KVERSION_LTS="%kernel_version_lts%"
  35. KVERSION_CURRENT="%kernel_version_current%"
  36. pushd ..
  37. install -D -m 00755 lts-build/hid-kye.ko $installdir/lib/modules/${KVERSION_LTS}/extra/hid-kye.ko
  38. install -D -m 00755 lts-build/hid-polostar.ko $installdir/lib/modules/${KVERSION_LTS}/extra/hid-polostar.ko
  39. install -D -m 00755 lts-build/hid-uclogic.ko $installdir/lib/modules/${KVERSION_LTS}/extra/hid-uclogic.ko
  40. install -D -m 00755 lts-build/hid-viewsonic.ko $installdir/lib/modules/${KVERSION_LTS}/extra/hid-viewsonic.ko
  41.  
  42. install -D -m 00755 current-build/hid-kye.ko $installdir/lib/modules/${KVERSION_CURRENT}/extra/hid-kye.ko
  43. install -D -m 00755 current-build/hid-polostar.ko $installdir/lib/modules/${KVERSION_CURRENT}/extra/hid-polostar.ko
  44. install -D -m 00755 current-build/hid-uclogic.ko $installdir/lib/modules/${KVERSION_CURRENT}/extra/hid-uclogic.ko
  45. install -D -m 00755 current-build/hid-viewsonic.ko $installdir/lib/modules/${KVERSION_CURRENT}/extra/hid-viewsonic.ko
RAW Paste Data