All pastes #154967 Raw Edit

Someone

public text v1 · immutable
#154967 ·published 2006-08-30 19:06 UTC
rendered paste body
james@ceres media-template]$ cvc cook --debug media-template.recipe
+ Building media-template
+ copying /asterisk/components/digium-pk-devel/media-template/LICENSE to /home/james/build/media-template/_ROOT_/usr/lib/media-template/all//LICENSE
/asterisk/components/digium-pk-devel/media-template/media-template.recipe:9: OSError: [Errno 2] No such file or directory: 'doc/RELEASE-NOTES'
[james@ceres media-template]$ ls -l
total 40
-rw-r--r--  1 james root  1126 Aug 30 12:54 CONARY
drwxr-xr-x  3 james root  4096 Aug 30 12:42 doc
-rw-r--r--  1 james root 14736 Aug 30 12:36 LICENSE
-rw-r--r--  1 james root   419 Aug 30 12:56 media-template.recipe
-rw-r--r--  1 james root  6970 Aug 30 12:36 README
-rw-r--r--  1 james root  1151 Aug 30 12:36 RELEASE-NOTES
[james@ceres media-template]$ ls doc/
QUICKSTART-CONARY.txt  README.LINUX  RELEASE-NOTES
[james@ceres media-template]$ cat media-template.recipe 
class MediaTemplate(PackageRecipe):
    name = 'media-template'
    version = '1.0.0'

    def setup(r):
        
        r.addSource('LICENSE', dest = '/usr/lib/media-template/all/')
       # r.addSource('doc/README.LINUX', dest = '/usr/lib/media-template/all/') 
        r.addSource('doc/RELEASE-NOTES', dest = '/usr/lib/media-template/all/')
        r.addSource('doc/QUICKSTART-CONARY.txt', dest = '/usr/lib/media-template/all/')
[james@ceres media-template]$