CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tzdata: updated to 2016j
[crossrootfs.git]
/
tzdata
/
Pkgfile
diff --git
a/tzdata/Pkgfile
b/tzdata/Pkgfile
index de6f6c929ff902f76b58abf5867d7a33cbd52328..56893623b86d3fbf2ea7dc91fb2b32610ae4e3f7 100644
(file)
--- a/
tzdata/Pkgfile
+++ b/
tzdata/Pkgfile
@@
-4,26
+4,34
@@
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
name=tzdata
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
name=tzdata
-version=201
2f
+version=201
6j
release=1
source=(http://www.iana.org/time-zones/repository/releases/$name$version.tar.gz
http://www.iana.org/time-zones/repository/releases/tzcode$version.tar.gz
release=1
source=(http://www.iana.org/time-zones/repository/releases/$name$version.tar.gz
http://www.iana.org/time-zones/repository/releases/tzcode$version.tar.gz
-
tzcode-makefile.patch
zic_host-makefile.patch)
+ zic_host-makefile.patch)
build() {
build() {
- patch -p1 -i $SRC/tzcode-makefile.patch
-
# first compile native zic binary
make CFLAGS="" CC="gcc" zic
cp zic zic_host
make clean
# first compile native zic binary
make CFLAGS="" CC="gcc" zic
cp zic zic_host
make clean
- patch -p0 -i $SRC/zic_host-makefile.patch
- make
+ patch -p1 -i $SRC/zic_host-makefile.patch
+
+ make -j1 install \
+ CFLAGS="$CFLAGS" \
+ DESTDIR=$PKG \
+ TOPDIR=/usr \
+ TZDIR=/usr/share/zoneinfo \
+ ETCDIR=/usr/sbin \
+ MANDIR=/usr/share/man \
+ CC=$CC AR=$AR
- #
fix error when directory exist
s
- sed 's|mkdir |mkdir -p |g' -i Makefile
+ #
provided by man-page
s
+ rm -r $PKG/usr/share/man/man{5,8}
- make DESTDIR=$PKG install
+ # move tzselect to /usr/bin
+ install -d $PKG/usr/bin
+ mv $PKG/usr/{sbin/tzselect,bin}
}
}