2 # Copyright (C) 2007-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://download.videolan.org
/pub
/libdvbpsi
/$(PKG_VERSION
)/
16 PKG_MD5SUM
:=bd2d9861be3311e1e03c91cd9345f542
19 include $(INCLUDE_DIR
)/package.mk
23 define Package
/libdvbpsi
26 TITLE
:=MPEG TS and DVB PSI tables decoding and generating
27 URL
:=http
://www.videolan.org
/developers
/libdvbpsi.html
30 define Package
/libdvbpsi
/description
31 libdvbpsi is a simple library designed for MPEG TS and DVB PSI tables
32 decoding and generating.
35 TARGET_CFLAGS
+= $(FPIC
)
37 define Build
/InstallDev
38 $(INSTALL_DIR
) $(1)/usr
/include/dvbpsi
40 $(PKG_INSTALL_DIR
)/usr
/include/dvbpsi
/*.h \
41 $(1)/usr
/include/dvbpsi
/
42 $(INSTALL_DIR
) $(1)/usr
/lib
44 $(PKG_INSTALL_DIR
)/usr
/lib
/libdvbpsi.
{so
*,a
,la
} \
48 define Package
/libdvbpsi
/install
49 $(INSTALL_DIR
) $(1)/usr
/lib
51 $(PKG_INSTALL_DIR
)/usr
/lib
/libdvbpsi.so
* \
55 $(eval
$(call BuildPackage
,libdvbpsi
))