addeed icu
This commit is contained in:
parent
cb3360340b
commit
02db0b15a6
1 changed files with 34 additions and 0 deletions
34
pkgs/icu/build.sh
Normal file
34
pkgs/icu/build.sh
Normal file
|
@ -0,0 +1,34 @@
|
|||
pkgname=icu
|
||||
pkgver=69.1
|
||||
|
||||
_pkg_ver=$(echo $pkgver | tr '.' '_')
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/unicode-org/icu/releases/download/release-69-1/icu4c-$_pkg_ver-src.tgz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
mv $pkgname $pkgname-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
cd source
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=$TRIPLE \
|
||||
--host=$TRIPLE
|
||||
|
||||
gmake
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd source
|
||||
gmake install DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue