Use correct location of mpg123 binary
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 23 Sep 2007 14:24:13 +0000 (14:24 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 23 Sep 2007 14:24:13 +0000 (14:24 -0000)
package/mpg123/mpg123.mk

index 2213e86b819a8b02af2113fbe73775e7e8a6c6ab..2660b706cdf1f12cfe355f15d77003cbdda3e150 100644 (file)
@@ -8,8 +8,8 @@ MPG123_SOURCE=mpg123-$(MPG123_VERSION).tar.bz2
 MPG123_CAT:=$(BZCAT)
 MPG123_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/mpg123
 MPG123_DIR:=$(BUILD_DIR)/mpg123-$(MPG123_VERSION)
-MPG123_BIN:=mpg123
-MPG123_TARGET_BIN:=usr/bin/$(MPG123_BIN)
+MPG123_BIN:=src/mpg123
+MPG123_TARGET_BIN:=usr/bin/mpg123
 
 # Check if ALSA is built, then we should configure after alsa-lib so
 # ./configure can find alsa-lib.
@@ -50,7 +50,7 @@ $(MPG123_DIR)/$(MPG123_BIN): $(MPG123_DIR)/.configured
        $(MAKE) -C $(MPG123_DIR)
 
 $(TARGET_DIR)/$(MPG123_TARGET_BIN): $(MPG123_DIR)/$(MPG123_BIN)
-       $(INSTALL) -D $(MPG123_DIR)/src/$(MPG123_BIN) $(TARGET_DIR)/$(MPG123_TARGET_BIN)
+       $(INSTALL) -D $(MPG123_DIR)/$(MPG123_BIN) $(TARGET_DIR)/$(MPG123_TARGET_BIN)
        $(STRIP) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(MPG123_TARGET_BIN)
 
 mpg123: uclibc $(MPG123_ALSA_DEP) $(TARGET_DIR)/$(MPG123_TARGET_BIN)