projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fcgi: moved to github
[packages.git]
/
libs
/
libid3tag
/
Makefile
diff --git
a/libs/libid3tag/Makefile
b/libs/libid3tag/Makefile
index
ec91c89
..
318f0ee
100644
(file)
--- a/
libs/libid3tag/Makefile
+++ b/
libs/libid3tag/Makefile
@@
-1,24
+1,25
@@
-#
-# Copyright (C) 2006 OpenWrt.org
+#
+# Copyright (C) 2006
-2010
OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=libid3tag
PKG_VERSION:=0.15.1b
include $(TOPDIR)/rules.mk
PKG_NAME:=libid3tag
PKG_VERSION:=0.15.1b
-PKG_RELEASE:=
1
+PKG_RELEASE:=
3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/mad
PKG_MD5SUM:=e5808ad997ba32c498803822078748c3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/mad
PKG_MD5SUM:=e5808ad997ba32c498803822078748c3
-PKG_CAT:=zcat
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_LICENSE:=GPLv2
+PKG_LICENSE_FILES:=COPYING
+
+PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/package.mk
@@
-31,10
+32,14
@@
define Package/libid3tag
endef
define Package/libid3tag/description
endef
define Package/libid3tag/description
- libid3tag is a library for reading and (eventually) writing ID3 tags, both
+ libid3tag is a library for reading and (eventually) writing ID3 tags, both
ID3v1 and the various versions of ID3v2.
endef
ID3v1 and the various versions of ID3v2.
endef
+TARGET_CFLAGS += $(FPIC)
+
+CONFIGURE_VARS += CC="$(TARGET_CC) $(TARGET_CFLAGS)"
+
define Build/Configure
$(call Build/Configure/Default, \
--enable-shared \
define Build/Configure
$(call Build/Configure/Default, \
--enable-shared \
@@
-44,23
+49,11
@@
define Build/Configure
)
endef
)
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
-endef
-
define Build/InstallDev
define Build/InstallDev
-
mkdir -p
$(1)/usr/include
+
$(INSTALL_DIR)
$(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/id3tag.h $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/id3tag.h $(1)/usr/include/
- mkdir -p $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3tag.{a,so*} $(1)/usr/lib/
-endef
-
-define Build/UninstallDev
- rm -rf \
- $(STAGING_DIR)/usr/include/id3tag.h \
- $(STAGING_DIR)/usr/lib/libid3tag.{a,so*}
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3tag.so* $(1)/usr/lib/
endef
define Package/libid3tag/install
endef
define Package/libid3tag/install