2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://www.xmms.org
/files
/1.2.x
/
17 include $(INCLUDE_DIR
)/package.mk
23 DEPENDS
:=+xorg-server-essentials
+alsa-lib
+gtk-1.2
.10 +libnotimpl
24 TITLE
:=XMMS audio player
27 define Package
/xmms
/description
28 Popular music player for X
31 CONFIGURE_ARGS
+=LIBS
="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -lnotimpl" \
32 sys_lib_dlsearch_path_spec
="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \
33 sys_lib_search_path_spec
="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \
37 define Build
/Configure
38 (cd
$(PKG_BUILD_DIR
)/$(CONFIGURE_PATH
); \
39 if
[ -x
$(CONFIGURE_CMD
) ]; then \
40 $(CP
) $(SCRIPT_DIR
)/config.
{guess
,sub
} $(PKG_BUILD_DIR
)/ && \
41 $(TARGET_CONFIGURE_OPTS
) \
44 $(CONFIGURE_ARGS_XTRA
) \
51 $(MAKE
) -C
$(PKG_BUILD_DIR
)
52 $(MAKE
) -C
$(PKG_BUILD_DIR
) DESTDIR
=$(PKG_INSTALL_DIR
) install
55 define Package
/xmms
/install
56 $(call pkg_install_files
,$(1),/usr
/bin
/xmms
/usr
/share
/xmms
/)
59 $(eval
$(call BuildPackage
,xmms
))