alvin_

recipe for netpulse

Nov 26th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.81 KB | None | 0 0
  1. SUMMARY="NetPulse"
  2. DESCRIPTION="NetPulse v0.2.2 by Carlos Hasan"
  3. HOMEPAGE="https://github.com/HaikuArchives/NetPulse/archive/master.zip"
  4. SRC_URI="git+https://github.com/HaikuArchives/NetPulse.git"
  5. REVISION="1"
  6. ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
  7. PROVIDES="
  8.     netpulse = $portVersion
  9.     "
  10. REQUIRES=""
  11. BUILD_REQUIRES="
  12.     haiku >= $haikuVersion
  13.     "
  14. BUILD_PREREQUIRES="
  15.     haiku_devel >= $haikuVersion
  16.     makefile_engine
  17.     cmd:gcc
  18.     cmd:make
  19.     cmd:mkdepend
  20.     "
  21. COPYRIGHT="Copyright 2001 Carlos Hasan"
  22. LICENSE="MIT"
  23.  
  24. SOURCE_DIR="$portVersionedName"
  25.  
  26. BUILD()
  27. {
  28.     make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
  29. }
  30.  
  31. INSTALL()
  32. {
  33.     architecture=$(echo $buildArchitecture | sed 's/_/-/g')
  34.     mkdir -p $appsDir
  35.     cp objects.$architecture-release/NetPulse $appsDir/NetPulse
  36.    
  37.     addAppDeskbarSymlink $appsDir/NetPulse
  38. }
Advertisement
Add Comment
Please, Sign In to add comment