# HG changeset patch # User Pascal Bellard # Date 1215699127 0 # Node ID 491b189268b9e37464e409228138e8143e311344 # Parent 1bd86206f737ca6c9fac5d4329a4426e200635a0 linux: linux-ncp -> linux-ncpfs diff -r 1bd86206f737 -r 491b189268b9 linux-ncp/receipt --- a/linux-ncp/receipt Thu Jul 10 14:09:03 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,36 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="linux-ncp" -VERSION="2.6.25.5" -CATEGORY="base-system" -SHORT_DESC="The Linux kernel ncp module." -MAINTAINER="pascal.bellard@slitaz.org" -WANTED="linux" -WEB_SITE="http://www.kernel.org/" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - local path - path=lib/modules/$VERSION-slitaz/kernel - mkdir -p $fs/$path - export src - export _pkg - $src/list_modules.sh fs/ncp | while read module; do - dir=$path/$(dirname $module) - [ -d $fs/$dir ] || mkdir -p $fs/$dir - cp -a $_pkg/$path/$module $fs/$dir - done -} - -# Post install/remove commands for Tazpkg. -post_install() -{ - depmod -a -b "$1/" $VERSION-slitaz -} - -post_remove() -{ - depmod -a $VERSION-slitaz -} -