libprefs recipe


SUBMITTED BY: Guest

DATE: Nov. 23, 2013, 4:52 p.m.

FORMAT: Text only

SIZE: 1.5 kB

HITS: 862

  1. SUMMARY="Shared library to take care your preferences"
  2. DESCRIPTION="Shared library to take care your preferences"
  3. HOMEPAGE="ftp://ftp.icm.edu.pl/vol/rzm1/beos/contrib/libraries"
  4. SRC_URI="ftp://ftp.icm.edu.pl/vol/rzm1/beos/contrib/libraries/libprefs125.zip"
  5. CHECKSUM_MD5="890f1fc84b7402505ac2536f4d1c5075"
  6. REVISION="1"
  7. LICENSE="Public Domain"
  8. COPYRIGHT="1998 libprefs@mindcontrol.org"
  9. ARCHITECTURES="x86_gcc2 !x86 !x86_64"
  10. SECONDARY_ACRHITECTURES="x86_gcc2 !x86"
  11. PROVIDES="
  12. libprefs$secondaryArchSuffix = $portVersion
  13. lib:libprefs$secondaryArchSuffix = $portVersion
  14. "
  15. REQUIRES="
  16. haiku$secondaryArchSuffix >= $haikuVersion
  17. "
  18. BUILD_REQUIRES="
  19. haiku$secondaryArchSuffix >= $haikuVersion
  20. haiku${secondaryArchSuffix}_devel >= $haikuVersion
  21. cmd:gcc
  22. "
  23. BUILD_PREREQUIRES="
  24. haiku${secondaryArchSuffix}_devel >= $haikuVersion
  25. cmd:make
  26. cmd:gcc$secondaryArchSuffix
  27. cmd:ld$secondaryArchSuffix
  28. "
  29. SOURCE_DIR="libprefs125"
  30. PATCHES="libprefs.patch"
  31. BUILD()
  32. {
  33. g++ -shared -fPIC -o libprefs.so src/libprefs.cpp -lroot -lbe
  34. }
  35. INSTALL()
  36. {
  37. mkdir -p $libDir
  38. mkdir -p $includeDir
  39. #cp bigprefs.x86.a $libDir/bigprefs.x86.a
  40. cp libprefs.so $libDir
  41. cp src/*.h $includeDir
  42. }

comments powered by Disqus