2 # Copyright (C) 2008-2014 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.xz
15 PKG_SOURCE_URL
:=http
://downloads.xiph.org
/releases
/ogg
/
16 PKG_HASH
:=3f687ccdd5ac8b52d76328fbbfebc70c459a40ea891dbf3dccb74a210826e79b
17 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
19 PKG_LICENSE
:=BSD-3-Clause
20 PKG_LICENSE_FILES
:=COPYING
26 include $(INCLUDE_DIR
)/package.mk
32 URL
:=http
://xiph.org
/ogg
/
35 define Package
/libogg
/description
36 Ogg project codecs use the Ogg bitstream format to arrange the raw
,
37 compressed bitstream into a more robust
, useful form. For example
,
38 the Ogg bitstream makes seeking
, time stamping and error recovery
39 possible
, as well
as mixing several sepearate
, concurrent media
40 streams into a single physical bitstream.
43 define Build
/InstallDev
44 $(INSTALL_DIR
) $(1)/usr
/include/ogg
/
45 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/include/ogg
/* $(1)/usr
/include/ogg
/
46 $(INSTALL_DIR
) $(1)/usr
/lib
/
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{so
*,a
,la
} $(1)/usr
/lib
/
48 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
49 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* $(1)/usr
/lib
/pkgconfig
/
50 $(INSTALL_DIR
) $(1)/usr
/share
/aclocal
/
51 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/aclocal
/* $(1)/usr
/share
/aclocal
/
54 define Package
/libogg
/install
55 $(INSTALL_DIR
) $(1)/usr
/lib
/
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so.
* $(1)/usr
/lib
/
59 $(eval
$(call BuildPackage
,libogg
))