| OLD | NEW |
| 1 # Copyright 2009, Google Inc. | 1 # Copyright 2009, Google Inc. |
| 2 # All rights reserved. | 2 # All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 cd $$OLDPWD && \ | 120 cd $$OLDPWD && \ |
| 121 mv $$dir/../""" + package_file_name + """.deb \ | 121 mv $$dir/../""" + package_file_name + """.deb \ |
| 122 $$(dirname $TARGET) && \ | 122 $$(dirname $TARGET) && \ |
| 123 mv $$dir/../""" + package_file_name + """.changes \ | 123 mv $$dir/../""" + package_file_name + """.changes \ |
| 124 $$(dirname $TARGET)""") | 124 $$(dirname $TARGET)""") |
| 125 return targets | 125 return targets |
| 126 | 126 |
| 127 | 127 |
| 128 BuildDebianPackage(["debian_amd64/changelog", | 128 BuildDebianPackage(["debian_amd64/changelog", |
| 129 "debian_amd64/control", | 129 "debian_amd64/control", |
| 130 "debian_amd64/dirs", | |
| 131 "debian_amd64/google-o3d.install", | 130 "debian_amd64/google-o3d.install", |
| 132 "debian_amd64/links", | 131 "debian_amd64/links", |
| 133 "debian_amd64/postinst", | 132 "debian_amd64/postinst", |
| 134 "debian_amd64/prerm", | 133 "debian_amd64/prerm", |
| 135 "debian_amd64/rules" | 134 "debian_amd64/rules" |
| 136 ], | 135 ], |
| 137 [("libnpo3dautoplugin.so", | 136 [("libnpo3dautoplugin.so", |
| 138 '$ARTIFACTS_DIR/libnpo3dautoplugin.so'), | 137 '$ARTIFACTS_DIR/libnpo3dautoplugin.so'), |
| 139 ("libGLEW.so.1.5", '$ARTIFACTS_DIR/libGLEW.so.1.5'), | 138 ("libGLEW.so.1.5", '$ARTIFACTS_DIR/libGLEW.so.1.5'), |
| 140 ("libCg.so", '$ARTIFACTS_DIR/libCg.so'), | 139 ("libCg.so", '$ARTIFACTS_DIR/libCg.so'), |
| 141 ("libCgGL.so", '$ARTIFACTS_DIR/libCgGL.so') | 140 ("libCgGL.so", '$ARTIFACTS_DIR/libCgGL.so') |
| 142 ], | 141 ], |
| 143 output_dir='$ARTIFACTS_DIR') | 142 output_dir='$ARTIFACTS_DIR') |
| 144 | 143 |
| 145 # TODO(tschmelcher): Also build an i386 deb. | 144 # TODO(tschmelcher): Also build an i386 deb. |
| 146 | 145 |
| 147 else: | 146 else: |
| 148 print('dpkg-buildpackage not found in PATH; Debian packages will not be ' | 147 print('dpkg-buildpackage not found in PATH; Debian packages will not be ' |
| 149 'built.'); | 148 'built.'); |
| 150 | 149 |
| 151 # TODO(tschmelcher): Also build an RPM and a tgz. | 150 # TODO(tschmelcher): Also build an RPM and a tgz. |
| OLD | NEW |