--- trunk/include/xorg.sminc 2013/08/14 09:42:36 18713 +++ trunk/include/xorg.sminc 2013/08/14 10:14:47 18715 @@ -65,6 +65,11 @@ #XORG_MIRROR="http://ftp.x.org/pub" XORG_MIRROR="http://xorg.freedesktop.org/archive" +if [[ -n ${PCATEGORIE} ]] && [[ -z ${PCAT} ]] +then + PCAT="${PCATEGORIE}" +fi + # get the right subdir case ${PCAT} in app-doc) URISUBDIR="doc" ;; @@ -205,6 +210,12 @@ mmake || die } +xorg_src_check() +{ + cd ${SRCDIR} + mmake -k check || die +} + xorg_src_install() { cd ${SRCDIR} @@ -228,4 +239,4 @@ return 0 } -export_inherits xorg src_prepare src_compile src_install preinstall +export_inherits xorg src_prepare src_compile src_check src_install preinstall