Hi all, Packaging a Cabal package in 10 easy steps (requires haskell-utils):
1) wget http://hackage.haskell.org/packages/archive/mtl/1.0/mtl-1.0.tar.gz -O haskell-mtl_1.0.1.orig.tar.gz 2) tar -zxf haskell-mtl_1.0.1.orig.tar.gz 3) cd mtl-1.0 4) mkdir -p debian/varfiles 5) cat > debian/varfiles/varfile << EOF maintainer="Ian Lynagh (wibble) <[EMAIL PROTECTED]>" short_description="Haskell monad transformer library for GHC" long_description=" MTL is a monad transformer library, inspired by the paper \"Functional\n Programming with Overloading and Higher-Order Polymorphism\",\n by Mark P Jones (<http://www.cse.ogi.edu/~mpj/>), Advanced School\n of Functional Programming, 1995." c_dev_libs="" extra_build_deps="" EOF 6) cat > debian/copyright << EOF Debianised by ... Author ... Copyright: BSD ... /usr/share/common-licenses/BSD ... EOF 7) dch --create -D unstable --package haskell-mtl --newversion 1.0.1-1 8) update-debian-haskell-files 9) debian/rules update-generated-files 10) debuild -us -uc With luck the .cabal file will provide most of the text for steps 5 and 6. When making future changes, apart from adding a changelog entry, only steps 9 and 10 need to be repeated. Thanks Ian _______________________________________________ debian-haskell mailing list [email protected] http://urchin.earth.li/mailman/listinfo/debian-haskell

