alvin_

album-0.9.2.recipe

Nov 24th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.59 KB | None | 0 0
  1. SUMMARY="An image viewer/organiser designed for BeOS-compatible operating systems."
  2. DESCRIPTION="Album is a file browsing and tagging utility for BeOS and compatibles. It
  3. started out with a goal of the ultimate image organiser (code named Aberration), but ended
  4. up as something much more modest and BeOS-specific. The idea is to have a work pad for
  5. pictures from different locations where they can be previewed and tagged in one place. The
  6. program is not limited to picture files and BFS (Be File System) volumes, although that
  7. further limits whatever the usefulness since much of the functionality has to do with file
  8. attributes."
  9. HOMEPAGE="http://users.volja.net/mkovac1/proj/album/"
  10. SRC_URI="git://github.com/HaikuArchives/Album"
  11. #CHECKSUM_MD5=" "
  12. LICENSE="MIT"
  13. COPYRIGHT="2006-2009 by Matjaž Kovač"
  14. REVISION="2"
  15. ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
  16. PROVIDES="
  17.     Album = $portVersion
  18.     app:Album = $portVersion
  19.     "
  20. REQUIRES="
  21.     haiku >= $haikuVersion
  22.     "
  23. BUILD_REQUIRES=" "
  24. BUILD_PREREQUIRES="
  25.     haiku_devel >= $haikuVersion
  26.     makefile_engine
  27.     cmd:gcc
  28.     cmd:make
  29.     cmd:mkdepend
  30.     "
  31. PATCHES="album-0.9.2.patch"
  32. USER_SETTINGS_FILES="
  33.     settings/Album directory
  34.     "
  35. GLOBAL_WRITABLE_FILES="
  36.     settings/Album directory
  37.     "
  38. SOURCE_DIR="$portVersionedName/src"
  39.  
  40. BUILD()
  41. {
  42.     make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
  43. }
  44.  
  45. INSTALL()
  46. {
  47.     albumDir=$appsDir/Album
  48.     mkdir -p $albumDir
  49.    
  50.     cp -a objects.x86-gcc2-debug/Album $albumDir
  51.    
  52.     mkdir -p $albumDir/data
  53.     cd data
  54.     cp -a *.png $albumDir/data
  55.    
  56.     cd ..
  57.     cp -r libiptcdata $albumDir
  58.    
  59.     addAppDeskbarSymlink $appsDir/Album
  60. }
Advertisement
Add Comment
Please, Sign In to add comment