SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "scim-pinyin"

# SliTaz package receipt.

PACKAGE="scim-pinyin"
VERSION="0.5.91"
CATEGORY="utilities"
SHORT_DESC="Chinese PinYin input for SCIM."
MAINTAINER="rocky@slitaz.org"
DEPENDS="scim"
BUILD_DEPENDS="scim-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.scim-im.org/"
WGET_URL="$SF_MIRROR/scim/$TARBALL"
#WGET_URL="http://kent.dl.sourceforge.net/sourceforge/scim/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    while read file; do
        [ -f done.$file ] && continue
        echo "Apply $file..."
        patch -p1 < $stuff/$file || return 1
        touch done.$file
    done <<EOT
cstring-gcc43.patch
EOT
    ./configure --prefix=/usr \
        --mandir=/usr/share/man \
        --infodir=/usr/share/info \
        --disable-static \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $_pkg/usr/lib $fs/usr
    cp -a $_pkg/usr/share/scim $fs/usr/share
    find $fs/usr/lib -name '*.la' -exec rm {} \;
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)