source: packages/libs/libdvbpsi4/Makefile @ 12228

Last change on this file since 12228 was 12228, checked in by nbd, 8 years ago

enable $(FPIC) for a few more packages

  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1#
2# Copyright (C) 2007 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# $Id$
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=libdvbpsi4
12PKG_VERSION:=0.1.5
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16PKG_SOURCE_URL:=http://download.videolan.org/pub/libdvbpsi/$(PKG_VERSION)/
17PKG_MD5SUM:=407cd074b7d6eaf31b20b693ed924655
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/libdvbpsi4
22  SECTION:=libs
23  CATEGORY:=Libraries
24  TITLE:=MPEG TS and DVB PSI tables decoding and generating
25  URL:=http://www.videolan.org/developers/libdvbpsi.html
26endef
27
28define Package/libdvbpsi4/description
29        libdvbpsi is a simple library designed for MPEG TS and DVB PSI tables
30        decoding and generating.
31endef
32
33TARGET_CFLAGS += $(FPIC)
34
35define Build/Compile
36        $(call Build/Compile/Default, \
37                DESTDIR="$(PKG_INSTALL_DIR)" \
38                install \
39        )
40endef
41
42define Build/InstallDev
43        mkdir -p $(1)/usr/include
44        $(CP) $(PKG_INSTALL_DIR)/usr/include/dvbpsi $(1)/usr/include/
45        mkdir -p $(1)/usr/lib
46        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdvbpsi.{a,so*,la} $(1)/usr/lib/
47endef
48
49define Package/libdvbpsi4/install
50        $(INSTALL_DIR) $(1)/usr/lib
51        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdvbpsi.so* $(1)/usr/lib/
52endef
53
54$(eval $(call BuildPackage,libdvbpsi4))
Note: See TracBrowser for help on using the repository browser.