New package: cld2-0.0.1.20150821
This commit is contained in:
parent
97a50d0b7f
commit
cca0d24ea2
4 changed files with 60 additions and 0 deletions
|
@ -969,6 +969,8 @@ libudisks2.so.0 udisks2-1.93.0_1
|
|||
libgcr-base-3.so.1 gcr-3.3.92_1
|
||||
libgck-1.so.0 gcr-3.8.0_1
|
||||
libgcr-ui-3.so.1 gcr-3.8.0_1
|
||||
libcld2.so cld2-0.0.1.20150821_1
|
||||
libcld2_full.so cld2-full-0.0.1.20150821_1
|
||||
libwacom.so.2 libwacom-0.3_1
|
||||
libfarstream-0.2.so.5 farstream-0.2.7_1
|
||||
libass.so.9 libass-0.13.6_1
|
||||
|
|
1
srcpkgs/cld2-devel
Symbolic link
1
srcpkgs/cld2-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
cld2
|
1
srcpkgs/cld2-full
Symbolic link
1
srcpkgs/cld2-full
Symbolic link
|
@ -0,0 +1 @@
|
|||
cld2
|
56
srcpkgs/cld2/template
Normal file
56
srcpkgs/cld2/template
Normal file
|
@ -0,0 +1,56 @@
|
|||
# Template file for 'cld2'
|
||||
pkgname=cld2
|
||||
version=0.0.1.20150821
|
||||
revision=1
|
||||
_gitrev=b56fa78a2fe44ac2851bae5bf4f4693a0644da7b
|
||||
wrksrc="${pkgname}-${_gitrev}"
|
||||
short_desc="Compact Language Detector 2"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://github.com/CLD2Owners/cld2"
|
||||
distfiles="https://github.com/CLD2Owners/cld2/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
checksum=2bd0f8aa344698c0ce6b2c89f5540af10e69e92d4c74f9fe66ffe25281be1111
|
||||
|
||||
CXXFLAGS="-Wno-narrowing"
|
||||
|
||||
do_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
do_build() {
|
||||
cd internal
|
||||
sed -i compile_libs.sh -e "s;^g++;$CXX;"
|
||||
./compile_libs.sh CFLAGS= CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
local f
|
||||
vmkdir usr/include/cld2/internal
|
||||
vmkdir usr/include/cld2/public
|
||||
for f in internal/*.h; do
|
||||
vinstall ${f} 644 usr/include/cld2/internal
|
||||
done
|
||||
for f in public/*.h; do
|
||||
vinstall ${f} 644 usr/include/cld2/public
|
||||
done
|
||||
vmkdir usr/lib
|
||||
vinstall internal/libcld2.so 755 usr/lib
|
||||
vinstall internal/libcld2_full.so 755 usr/lib
|
||||
vdoc README.md
|
||||
}
|
||||
|
||||
cld2-full_package() {
|
||||
short_desc+=" - full detection"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/libcld2_full.so
|
||||
}
|
||||
}
|
||||
|
||||
cld2-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}-full>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue