Receipt for package "linux-drm"
# SliTaz package receipt. PACKAGE="linux-drm" VERSION="2.6.37" CATEGORY="base-system" SHORT_DESC="The Linux kernel drm module." MAINTAINER="devel@slitaz.org" DEPENDS="linux-agp" 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 $wanted_stuff/list_modules.sh drivers/gpu/drm | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir done for i in $(cat $wanted_stuff/modules-$VERSION.list); do if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i fi done # remove drivers/char/agp kernel modules cause there in linux-agp package if [ -d $fs/lib/modules/$VERSION-slitaz/kernel/drivers/char/agp ]; then rm -rf $fs/lib/modules/$VERSION-slitaz/kernel/drivers/char/agp fi } # Post install/remove commands for Tazpkg. post_install() { chroot "$1/" depmod -a $VERSION-slitaz } post_remove() { chroot "$1/" depmod -a $VERSION-slitaz }
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)