add SLOT support for packages