anchor.diff:                   --with-selinux-devel=${STAGING_LIBDIR}/.."
   
   EXTRA_OECONF_append_class-native = " \
  -    --with-tk=${STAGING_LIBDIR_NATIVE}/tk8.6 \
  +    --disable-gui \
       --with-tcl=${STAGING_LIBDIR_NATIVE}/tcl8.6 \
   "
  +
  +PACKAGECONFIG_class-target ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'tk gui', '', d)}"
  +PACKAGECONFIG[tk] = "--with-tk=${STAGING_BINDIR_CROSS} --with-tkinclude=${STAGING_INCDIR}/tcl8.6, --without-tk, tk8.6"
  +PACKAGECONFIG[gui] = "--enable-gui, --disable-gui, gtk+ libglade"
   
   # need to export these variables for python-config to work
   export BUILD_SYS
  
positive.code: 	mkdir -p ${D}${sysconfdir}/logwatch/conf/logfiles/ \
  	         ${D}${sysconfdir}/logwatch/scripts/services/ \
  	         ${D}${sysconfdir}/logwatch/conf/services/
  	cp ${S}/seaudit/seaudit-report-group.conf \
  	         ${D}${sysconfdir}/logwatch/conf/logfiles/
  	cp ${S}/seaudit/seaudit-report-service \
  	         ${D}${sysconfdir}/logwatch/scripts/services/
  	cp ${S}/seaudit/seaudit-report-service.conf \
  	         ${D}${sysconfdir}/logwatch/conf/services/
  
  	mkdir -p ${D}${datadir}/menu
  	cp ${S}/debian/setools-gui.menu ${D}${datadir}/menu/setools-gui
  
  	# Remove unnecessary files
  	find ${D}${libdir} -name '*.pyc' -delete
  
negative.code: 	# Fix permission follow debian/rules
  	find ${D}${libdir}/setools/ -type f -name '*.tcl' -exec chmod -x {} \;
  	find ${D}${libdir}/setools/ -type f -name '*.tcl' -exec chmod -x {} \;
  
  	if [ -f ${D}${sysconfdir}/logwatch/scripts/services/seaudit-report-service ]; then
  		chmod +x ${D}${sysconfdir}/logwatch/scripts/services/seaudit-report-service
  	fi
  
  	if [ -f ${D}${datadir}/setools/3.3/seaudit-report-service ]; then
  		chmod +x ${D}${datadir}/setools/3.3/seaudit-report-service
  	fi
  }
  
  PACKAGE_BEFORE_PN =+ "libapol libpoldiff libqpol libseaudit libsefs \
  