diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-12-01 12:48:58 +0000 |
---|---|---|
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-12-01 12:48:58 +0000 |
commit | 8c149d286ac328bb00ba3f4fa24441e38644cdee (patch) | |
tree | 79e73da8cd0969b743afcf2bd42d306718305896 /package/multimedia/mplayer/mplayer.mk | |
parent | 8248a4a144bf4ea7bb8814f9acf977dd2a93221b (diff) |
mplayer: add dependency libraries to a variable
This patch will put dependency libraries in a variable and add this to the
dependencies to build mplayer. This is done to ease adding new libraries in the
future.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Diffstat (limited to 'package/multimedia/mplayer/mplayer.mk')
-rw-r--r-- | package/multimedia/mplayer/mplayer.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk index 446d38d4b..47f2a86f7 100644 --- a/package/multimedia/mplayer/mplayer.mk +++ b/package/multimedia/mplayer/mplayer.mk @@ -17,6 +17,8 @@ else MPLAYER_ENDIAN:=--disable-big-endian endif +MPLAYER_DEP_LIBS:=libmad + $(DL_DIR)/$(MPLAYER_SOURCE): $(WGET) -P $(DL_DIR) $(MPLAYER_SITE)/$(MPLAYER_SOURCE) @@ -60,7 +62,7 @@ $(TARGET_DIR)/$(MPLAYER_TARGET_BINARY): $(MPLAYER_DIR)/$(MPLAYER_BINARY) -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(MPLAYER_TARGET_BINARY) touch -c $@ -mplayer: uclibc libmad $(TARGET_DIR)/$(MPLAYER_TARGET_BINARY) +mplayer: uclibc $(MPLAYER_DEP_LIBS) $(TARGET_DIR)/$(MPLAYER_TARGET_BINARY) mplayer-source: $(DL_DIR)/$(MPLAYER_SOURCE) |