mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
new package: add package 'timezone-data', add timezone support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
68c6aba790
commit
5098e17d45
10
packages/sysutils/timezone-data/build
Executable file
10
packages/sysutils/timezone-data/build
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
make CC="$HOST_CC" CFLAGS="$HOST_CFLAGS"
|
||||
make TOPDIR="./.install" install
|
6
packages/sysutils/timezone-data/install
Executable file
6
packages/sysutils/timezone-data/install
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/share/zoneinfo
|
||||
cp -R $PKG_BUILD/.install/etc/zoneinfo/* $INSTALL/usr/share/zoneinfo
|
14
packages/sysutils/timezone-data/meta
Normal file
14
packages/sysutils/timezone-data/meta
Normal file
@ -0,0 +1,14 @@
|
||||
PKG_NAME="timezone-data"
|
||||
PKG_VERSION="2010n"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="Public Domain"
|
||||
PKG_SITE="ftp://elsie.nci.nih.gov/pub/"
|
||||
PKG_URL="http://sources.openelec.tv/svn/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="timezone-data"
|
||||
PKG_LONGDESC="timezone-data"
|
||||
PKG_IS_ADDON="no"
|
@ -2,6 +2,8 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/install timezone-data
|
||||
|
||||
mkdir -p $INSTALL/lib
|
||||
cp $PKG_BUILD/objdir-$1/elf/ld*.so.* $INSTALL/lib
|
||||
cp $PKG_BUILD/objdir-$1/libc.so.6 $INSTALL/lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user