
Receipt for package "opencc"
# SliTaz package receipt. PACKAGE="opencc" VERSION="1.1.3" CATEGORY="misc" SHORT_DESC="Libraries for Simplified-Traditional Chinese Conversion." MAINTAINER="lufeng369@slitaz.org" LICENSE="Apache" WEB_SITE="https://github.com/BYVoid/OpenCC" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/BYVoid/OpenCC/archive/ver.$VERSION.tar.gz" DEPENDS="gcc83-lib-base" BUILD_DEPENDS="cmake gcc83 gettext" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/ver.\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { export CC=gcc-83 export CXX=g++-83 mkdir _build && cd _build && cmake .. \ -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_BUILD_TYPE=Release \ -D ENABLE_GETTEXT:BOOL=ON && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib mkdir -p $fs/usr/share cp -a $install/usr/lib/lib*.so* $fs/usr/lib cp -a $install/usr/share/opencc $fs/usr/share }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)