I forgot to mention that I am using Arch Linux, which follows some particular guidelines concerning the FHS (Filesystem Hierarchy Standard). Namely, packages should not add files in /usr/libexec or /usr/local.
Scripts in the user repository must call "make install" with a specific $(DESTDIR) variable. In this case, it is built from another variable, that is DESTDIR="$pkgdir". What I found out however, is that some Makefile.am files are inconsistent with the rest: most have $(DESTDIR) in front of the targets for `install`, and some do not. This causes the make process to fail with errors. I had to make a couple of patches to these files and run autogen.sh to rebuild the Makefile.in files. Now the package builds, but it is missing some files (daemon scripts and /var/run/rivendell special directories) because they are still copied with "hard" names. They try to install to /etc/init.d instead of $pkgdir/etc/init.d, and I am having a hard time figuring out how the Makefile scripts are crafted... Also there is something wrong with the configure.in script: it forces the RD_LIB_PATH to lib64 on x86_64 platforms. The script should test if the variable is already defined (passed through ./configure) and not override it. Arch Linux, on x86_64, uses "lib" for 64-bit libraries and "lib32" for 32-bit. -- Sébastien Leblanc _______________________________________________ Rivendell-dev mailing list [email protected] http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
