summaryrefslogtreecommitdiff
path: root/recipes/wavpack.recipe
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-08-31 02:08:34 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-08-31 02:08:34 +0200
commit801dfefcc216b2511d771837c72abf54da0338b4 (patch)
tree465a59b14cf7d4f0a839a58645f4eab98c516560 /recipes/wavpack.recipe
parent45b9a5f095c099afc891d2deb7483b3dd93cd595 (diff)
recipes: fix some recipes for android
Diffstat (limited to 'recipes/wavpack.recipe')
-rw-r--r--recipes/wavpack.recipe12
1 files changed, 9 insertions, 3 deletions
diff --git a/recipes/wavpack.recipe b/recipes/wavpack.recipe
index 65834ec0..f3418e6e 100644
--- a/recipes/wavpack.recipe
+++ b/recipes/wavpack.recipe
@@ -1,14 +1,20 @@
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+from cerbero.utils import shell
class Recipe(recipe.Recipe):
name = 'wavpack'
version = '4.60.1'
licenses = [License.BSD_like]
- platform_deps = { Platform.WINDOWS: ['libiconv'],
- Platform.ANDROID: ['libiconv'] }
- autoreconf = True
+ platform_deps = { Platform.WINDOWS: ['libiconv'] }
files_libs = ['libwavpack']
files_bins = ['wavpack']
files_devel = ['include/wavpack', 'lib/pkgconfig/wavpack.pc']
+
+ def configure(self):
+ if self.config.target_platform == Platform.ANDROID:
+ shell.replace(os.path.join(self.build_dir, 'Makefile.in'),
+ {'SUBDIRS = src include cli man': 'SUBDIRS = src include man'})
+ super(Recipe, self).configure()
+