wok-4.x annotate scim-tables/receipt @ rev 6707

Added linux-module-headers. This is used to build 3rd party kernel modules. This is based on archlinux kernel26-headers PKGBUILD.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 13 23:49:38 2010 +0000 (2010-10-13)
parents 2b2c37045605
children 0f39875b5d38
rev   line source
rocky@3549 1 # SliTaz package receipt.
rocky@3549 2
rocky@3549 3 PACKAGE="scim-tables"
rocky@3549 4 VERSION="0.5.9"
rocky@3549 5 CATEGORY="meta"
rocky@3549 6 SHORT_DESC="SCIM Generic Table Input Method module meta package."
rocky@3549 7 MAINTAINER="rocky@slitaz.org"
rocky@3549 8 DEPENDS="scim scim-tables-base scim-tables-ja scim-tables-ko scim-tables-zh scim-tables-additional"
rocky@3549 9 BUILD_DEPENDS="scim-dev expat-dev"
rocky@3549 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
rocky@3549 11 WEB_SITE="http://www.scim-im.org/"
pascal@3551 12 WGET_URL="$SF_MIRROR/scim/$TARBALL"
rocky@3549 13 LOCALE=""
rocky@3549 14
rocky@3549 15 # Rules to configure and make the package.
rocky@3549 16 compile_rules()
rocky@3549 17 {
rocky@3549 18 cd $src
rocky@3549 19 ./configure --prefix=/usr \
rocky@3549 20 --mandir=/usr/share/man \
rocky@3549 21 --disable-static \
rocky@3549 22 $CONFIGURE_ARGS &&
rocky@3549 23 make &&
rocky@3549 24 make DESTDIR=$PWD/_pkg install
rocky@3549 25 }
rocky@3549 26
rocky@3549 27 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3549 28 genpkg_rules()
rocky@3549 29 {
rocky@3549 30 mkdir -p $fs/var
rocky@3549 31 for i in base ja ko zh additional
rocky@3549 32 do
rocky@3549 33 tazwok genpkg $PACKAGE-$i
rocky@3549 34 done
rocky@3549 35 }
rocky@3549 36
rocky@3549 37 clean_wok()
rocky@3549 38 {
rocky@3549 39 for i in base ja ko zh additional
rocky@3549 40 do
rocky@3549 41 tazwok clean $PACKAGE-$i
rocky@3549 42 done
rocky@3549 43 }